forked from immerjs/immer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 2.54 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
{
"name": "immer",
"version": "1.3.0",
"description": "Create your next immutable state by mutating the current one",
"main": "dist/immer.js",
"umd:main": "dist/immer.umd.js",
"module": "dist/immer.module.js",
"jsnext:main": "dist/immer.module.js",
"react-native": "dist/immer.module.js",
"types": "./dist/immer.d.ts",
"scripts": {
"watch": "jest --watch",
"test": "jest",
"test:perf": "yarn-or-npm build && node --expose-gc node_modules/jest-cli/bin/jest.js --verbose --testRegex '__performance_tests__/.*?js$'",
"test:flow": "yarn-or-npm flow check",
"coveralls": "jest --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
"build": "rimraf dist/ && cross-env NODE_ENV=production rollup -c && cpx \"src/immer.{d.ts,js.flow}\" dist",
"prettier": "prettier \"*/**/*.js\" --ignore-path ./.prettierignore --write",
"precommit": "lint-staged",
"prepublish": "yarn-or-npm run build",
"release": "np --no-cleanup"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mweststrate/immer.git"
},
"keywords": [
"immutable",
"mutable",
"copy-on-write"
],
"author": "Michel Weststrate",
"license": "MIT",
"bugs": {
"url": "https://github.com/mweststrate/immer/issues"
},
"homepage": "https://github.com/mweststrate/immer#readme",
"files": [
"dist/"
],
"devDependencies": {
"@types/jest": "^22.0.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-jest": "^22.0.4",
"babel-plugin-external-helpers": "^6.22.0",
"babel-preset-env": "^1.6.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-modern-browsers": "^10.0.1",
"coveralls": "^3.0.0",
"cpx": "^1.5.0",
"cross-env": "^5.1.3",
"deep-freeze": "^0.0.1",
"flow-bin": "^0.68.0",
"husky": "^0.14.3",
"immutable": "^3.8.2",
"jest": "^22.0.4",
"lint-staged": "^6.1.0",
"lodash": "^4.17.4",
"lodash.clonedeep": "^4.5.0",
"np": "^2.20.1",
"prettier": "^1.9.2",
"regenerator-runtime": "^0.11.1",
"rimraf": "^2.6.2",
"rollup": "^0.54.0",
"rollup-plugin-babel": "^3.0.3",
"rollup-plugin-commonjs": "^8.2.6",
"rollup-plugin-filesize": "^1.5.0",
"rollup-plugin-node-resolve": "^3.0.2",
"rollup-plugin-uglify": "^2.0.1",
"typescript": "^2.6.2",
"uglify-es": "^3.3.6",
"yarn-or-npm": "^2.0.4"
},
"lint-staged": {
"*.js": [
"prettier --write",
"git add"
]
},
"jest": {
"transform": {
"^.+\\.jsx?$": "babel-jest"
}
}
}