-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 2.32 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "cache-client-promise",
"version": "1.1.0",
"description": "client side cache",
"main": "index.js",
"author": "Kelly Milligan",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/kellyrmilligan/cache-client-promise.git"
},
"jest": {
"roots": [
"src"
],
"moduleDirectories": [
"node_modules",
"src"
],
"moduleFileExtensions": [
"js",
"json"
],
"coverageDirectory": "coverage",
"collectCoverage": true,
"testRegex": "(/__tests__/.*|\\.(test))\\.js$",
"coverageThreshold": {
"global": {
"branches": 75,
"functions": 75,
"lines": 75,
"statements": 75
}
},
"coveragePathIgnorePatterns": [
"/node_modules/",
"/fixtures/",
"/script/"
]
},
"standard": {
"parser": "babel-eslint",
"globals": [
"jest",
"it",
"expect",
"describe",
"fetch"
],
"ignore": [
"/src/**/*.test.js"
],
"plugins": [
"flowtype",
"react"
]
},
"peerDependencies": {},
"dependencies": {},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-core": "^6.25.0",
"babel-eslint": "^7.2.3",
"babel-jest": "^20.0.3",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-env": "^1.6.0",
"babel-preset-flow": "^6.23.0",
"babel-preset-stage-2": "^6.24.1",
"babel-runtime": "^6.23.0",
"coveralls": "^2.13.1",
"cross-env": "^5.0.1",
"eslint-plugin-flowtype": "^2.35.0",
"fetch-mock": "^5.12.2",
"flow-bin": "^0.49.1",
"flow-copy-source": "^1.2.0",
"isomorphic-fetch": "^2.2.1",
"jest": "^20.0.4",
"npm-run-all": "^4.0.2",
"rimraf": "^2.6.1",
"snazzy": "^7.0.0",
"standard": "^10.0.2"
},
"scripts": {
"build": "npm-run-all -l clean babel",
"babel": "babel src -d . -D -s",
"flow-copy-source": "flow-copy-source src .",
"clean": "rimraf index.js index.js.map index.js.flow",
"flow": "flow --strip-root",
"prepublish": "npm-run-all -l standard flow test build flow-copy-source",
"standard": "standard 'src/**/*.js' --verbose --fix | snazzy",
"test": "cross-env NODE_ENV=test jest",
"test:coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
"test:watch": "npm run test -- --watch"
}
}