forked from masylum/mobx-rest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
85 lines (85 loc) · 2.31 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
{
"name": "mobx-rest",
"version": "2.2.1",
"description": "REST conventions for mobx.",
"repository": {
"type": "git",
"url": "[email protected]:masylum/mobx-rest.git"
},
"license": "MIT",
"jest": {
"collectCoverage": true,
"testRegex": "/__tests__/.*\\.spec\\.js$",
"collectCoverageFrom": [
"src/**/*.js"
]
},
"standard": {
"parser": "babel-eslint",
"globals": [
"it",
"describe",
"beforeEach",
"expect",
"Class",
"jest"
]
},
"dependencies": {
"lodash": "^4.17.4"
},
"peerDependencies": {
"mobx": "^3.2.0"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-core": "^6.25.0",
"babel-eslint": "^7.2.3",
"babel-jest": "^20.0.3",
"babel-plugin-transform-async-to-generator": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-polyfill": "^6.23.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
"babel-register": "^6.24.1",
"eslint": "^3.19.0",
"eslint-config-standard": "^10.2.1",
"eslint-plugin-flowtype": "2.34.0",
"eslint-plugin-import": "^2.3.0",
"eslint-plugin-node": "^5.0.0",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-standard": "^3.0.1",
"flow-bin": "^0.47.0",
"flow-copy-source": "^1.1.0",
"husky": "^0.13.4",
"jest": "^20.0.4",
"lint-staged": "^3.6.0",
"mobx": "^3.2.0",
"prettier-standard": "^5.0.0",
"rimraf": "^2.6.1"
},
"main": "lib",
"scripts": {
"build:clean": "rimraf lib",
"build:lib": "babel -d lib src --ignore '**/__tests__/**'",
"build:flow": "flow-copy-source -v -i '**/__tests__/**' src lib",
"build": "npm run build:clean && npm run build:lib && npm run build:flow",
"prepublish": "npm run build",
"jest": "BABEL_ENV=test NODE_PATH=src jest --no-cache",
"lint": "eslint src __tests__",
"flow": "flow",
"test": "npm run flow && npm run lint && npm run jest",
"format": "prettier-standard --print-width 60 \"{src,__tests__}/**/*.js\"",
"prepush": "npm test",
"lint-staged": {
"linters": {
"{src|__tests__}/**/*.js": [
"prettier-standard",
"git add"
]
}
}
}
}