-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
73 lines (73 loc) · 2.27 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
{
"name": "edux",
"version": "0.2.2",
"description": "Edux is DRY version of Redux (no constants and switches, actions and reducers are generated from changes).",
"browser": "dist/edux.js",
"main": "lib/index.js",
"module": "es/index.js",
"jsnext:main": "es/index.js",
"files": [
"dist",
"lib",
"es",
"src"
],
"scripts": {
"clean": "rimraf lib dist es coverage",
"lint": "standard",
"lint:src": "standard \"src/**/*.js\"",
"lint:examples": "standard \"examples/**/*.js\"",
"test": "cross-env BABEL_ENV=commonjs jest",
"test:watch": "npm test -- --watch",
"test:cov": "npm test -- --coverage",
"test:examples": "babel-node examples/testAll.js",
"check:src": "npm run lint:src && npm run test",
"check:examples": "npm run build:examples",
"check:build": "check-es3-syntax lib/ dist/ --kill --print",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
"build:umd": "cross-env BABEL_ENV=commonjs NODE_ENV=development webpack src/index.js dist/edux.js",
"build:umd:min": "cross-env BABEL_ENV=commonjs NODE_ENV=production webpack src/index.js dist/edux.min.js",
"build:examples": "babel-node examples/buildAll.js",
"build": "npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min",
"prepublish": "npm run clean && npm run check:src && npm run build && npm run check:build"
},
"author": "Dmytro V. Dogadailo (https://dogada.org)",
"license": "MIT",
"devDependencies": {
"babel-cli": "~6.18.0",
"babel-jest": "~18.0.0",
"babel-loader": "~6.2.10",
"babel-plugin-transform-object-rest-spread": "~6.20.2",
"babel-preset-es2015": "~6.18.0",
"check-es3-syntax-cli": "^0.1.1",
"cross-env": "^3.1.4",
"jest": "^18.1.0",
"node-libs-browser": "~2.0.0",
"redux": "~3.6.0",
"rimraf": "^2.3.4",
"webpack": "~1.9.6"
},
"jest": {
"testRegex": "(/test/.*\\.spec.js)$"
},
"standard": {
"ignore": [
"dist/",
"build/"
]
},
"dependencies": {},
"repository": {
"type": "git",
"url": "https://github.com/dogada/edux.git"
},
"keywords": [
"redux",
"reducer",
"state",
"flux",
"react",
"dry"
]
}