-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
63 lines (63 loc) · 1.89 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
{
"name": "flow-immutable-models",
"version": "0.12.0",
"description": "Generates model classes from Flow types using Immutable.js",
"main": "lib/ImmutableModel.js",
"repository": {
"type": "git",
"url": "https://github.com/pbomb/flow-immutable-models.git"
},
"scripts": {
"build": "babel src -d lib --ignore __tests__ && flow-copy-source src lib",
"flow": "flow",
"eslint": "eslint src",
"gen-models": "npm run build && jscodeshift src/__tests__/models -t lib/transform.js",
"lint:staged": "lint-staged",
"prepublish": "npm run eslint && npm run flow && npm test && npm run prettier",
"prettier": "prettier --write --print-width=100 --single-quote=true --trailing-comma=es5 'src/**/*.js'",
"test": "npm run gen-models && jest"
},
"keywords": [
"flow",
"immutable",
"javascript"
],
"author": "Matt Parrish <matt.r.parrish@gmail.com>",
"license": "MIT",
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-core": "^6.24.1",
"babel-eslint": "^7.2.3",
"babel-jest": "^20.0.3",
"babel-plugin-transform-flow-strip-types": "6.22.0",
"babel-polyfill": "6.23.0",
"babel-preset-latest": "^6.24.1",
"eslint": "^3.19.0",
"eslint-config-airbnb": "^15.0.1",
"eslint-plugin-flowtype": "^2.33.0",
"eslint-plugin-import": "2.2.0",
"eslint-plugin-jsx-a11y": "^5.0.3",
"eslint-plugin-react": "^7.0.1",
"flow-bin": "^0.46.0",
"flow-copy-source": "^1.2.0",
"jest": "^20.0.3",
"lint-staged": "^3.4.2",
"pre-commit": "1.2.2",
"prettier": "^1.3.1"
},
"dependencies": {
"immutable": "3.8.1",
"jscodeshift": "0.3.30"
},
"jest": {
"testEnvironment": "node",
"testRegex": "/__tests__/.*\\.spec\\.js$"
},
"lint-staged": {
"*.js": [
"prettier --write --print-width 100 --single-quote true --trailing-comma es5",
"git add"
]
},
"pre-commit": "lint:staged"
}