-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
77 lines (77 loc) · 1.95 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "teuthis",
"version": "0.2.11",
"description": "An XHR intercepting transparent proxy cache",
"keywords": [
"xhr",
"cache",
"proxy"
],
"repository": {
"type": "git",
"url": "https://github.com/platfarm-com/teuthis.git"
},
"main": "lib/index.js",
"module": "teuthis.js",
"scripts": {
"bundle": "browserify --standalone teuthis -o dist/teuthis.js lib/index.js -t uglifyify -t [ babelify --presets [ env ] --plugins [ transform-object-assign ] ]",
"lint": "eslint .",
"prepare": "npm run bundle",
"test": "mocha 'lib/**/*.test.js'",
"test:coverage": "nyc --reporter=lcov --reporter=text --all npm test -- --reporter dot",
"precommit": "npm run lint -- --fix && npm run test",
"prepush": "npm run lint && npm run test"
},
"homepage": "https://github.com/platfarm-com/teuthis",
"author": {
"name": "Andrew McDonnell",
"email": "[email protected]"
},
"license": "MPL-2.0",
"nyc": {
"exclude": [
"teuthis.js",
"coverage/**",
"**/*.test.js"
]
},
"eslintConfig": {
"env": {
"mocha": true,
"browser": true,
"node": true
},
"plugins": [
"mocha"
],
"rules": {
"comma-dangle": [
"error",
"always-multiline"
],
"mocha/no-exclusive-tests": "error",
"mocha/no-identical-title": "error",
"mocha/no-nested-tests": "error",
"mocha/no-sibling-hooks": "error",
"mocha/no-top-level-hooks": "error",
"max-nested-callbacks": "off"
}
},
"devDependencies": {
"async": "3.1.0",
"babel-core": "~6.26.0",
"babel-plugin-transform-object-assign": "~6.22.0",
"babel-preset-env": "~1.7.0",
"babelify": "~8.0.0",
"browserify": "~16.5.0",
"eslint": "^6.4.0",
"eslint-plugin-mocha": "~6.1.1",
"mocha": "~5.1.1",
"nyc": "~14.1.1",
"uglifyify": "~5.0.2"
},
"dependencies": {
"localforage": "~1.7.2",
"lodash": "~4.17.15"
}
}