-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
43 lines (43 loc) · 1.35 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
{
"name": "dumb-reducer",
"version": "2.0.3",
"description": "A generic redux reducer for simple cases",
"main": "lib/index.js",
"module": "es/index.js",
"license": "MIT",
"repository": "https://github.com/quentinvernot/dumb-reducer",
"scripts": {
"build:esnext": "rm -rf es && BABEL_ENV=esnext babel -d es src",
"build:es5": "rm -rf lib && BABEL_ENV=es5 babel -d lib src",
"build": "yarn build:esnext && yarn build:es5",
"lint:flow": "flow check",
"lint:js": "eslint src/*.js",
"lint": "yarn lint:flow && yarn lint:js",
"test": "BABEL_ENV=es5 mocha \"test/*.spec.js\" --require @babel/register --recursive --full-trace --reporter=spec",
"prepare": "yarn lint && yarn test && yarn build"
},
"files": [
"es",
"lib",
".flowconfig"
],
"devDependencies": {
"@babel/cli": "7.5.5",
"@babel/core": "7.5.5",
"@babel/plugin-transform-flow-comments": "7.5.5",
"@babel/preset-env": "7.5.5",
"@babel/register": "7.5.5",
"babel-eslint": "10.0.3",
"chai": "4.2.0",
"deep-freeze": "^0.0.1",
"eslint": "6.2.2",
"eslint-plugin-chai-expect": "2.0.1",
"eslint-plugin-chai-friendly": "^0.4.1",
"eslint-plugin-flowtype": "4.2.0",
"eslint-plugin-import": "2.18.0",
"eslint-plugin-mocha-no-only": "1.1.0",
"flow": "^0.2.3",
"flow-bin": "0.106.2",
"mocha": "6.2.0"
}
}