-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
82 lines (82 loc) · 2.85 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
{
"name": "alfa",
"version": "0.7.0",
"description": "Effortless React State Management.",
"main": "lib/index.js",
"module": "es/index.js",
"files": [
"es",
"lib",
"src",
"dist",
"LICENSE",
"CHANGELOG.md",
"README.md"
],
"scripts": {
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
"build:cjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
"build:umd": "cross-env BABEL_ENV=rollup NODE_ENV=development rollup -c -o dist/alfa.js",
"build:umd:min": "cross-env BABEL_ENV=rollup NODE_ENV=production rollup -c -o dist/alfa.min.js",
"build": "npm run build:es && npm run build:cjs && npm run build:umd && npm run build:umd:min",
"build-watch": "nodemon -w src -x npm run build",
"nyc": "cross-env BABEL_ENV=development TEST_ENV=unit nyc babel-node test/unit.js",
"lint": "eslint src",
"test": "cross-env BABEL_ENV=development TEST_ENV=unit babel-node test/unit.js",
"watch": "nodemon -w src -w test -x cross-env BABEL_ENV=development TEST_ENV=unit babel-node test/unit.js",
"report": "nyc report --reporter=html",
"watch-report": "nodemon -w src -w test --exec cross-env BABEL_ENV=development TEST_ENV=unit nyc --reporter=html babel-node test/unit.js",
"coverage": "nyc report --reporter=text-lcov | coveralls"
},
"author": "Marc Liu <m@liu.pm> (https://github.com/lsm)",
"license": "MIT",
"homepage": "https://github.com/lsm/alfa",
"repository": "github:lsm/alfa",
"bugs": "https://github.com/lsm/alfa/issues",
"dependencies": {
"isobject": "^4.0.0",
"prop-types": "^15.7.2"
},
"peerDependencies": {
"react": "^0.14.0 || ^15.0.0-0 || ^16.0.0-0"
},
"devDependencies": {
"@babel/cli": "7.8.4",
"@babel/core": "7.8.4",
"@babel/node": "7.8.4",
"@babel/plugin-proposal-class-properties": "7.8.3",
"@babel/preset-env": "7.8.4",
"@babel/preset-react": "7.8.3",
"babel-eslint": "10.0.3",
"babel-loader": "8.0.6",
"babel-plugin-istanbul": "6.0.0",
"coveralls": "3.0.9",
"cross-env": "7.0.0",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.2",
"eslint": "6.8.0",
"eslint-config-react-app": "5.2.0",
"eslint-plugin-class-property": "1.1.0",
"eslint-plugin-flowtype": "4.6.0",
"eslint-plugin-import": "2.20.1",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-react": "7.18.3",
"eslint-plugin-react-hooks": "2.3.0",
"jsdom": "16.2.0",
"nodemon": "2.0.2",
"nyc": "15.0.0",
"prettier": "1.19.1",
"raf": "3.4.1",
"react": "^16.12.0",
"react-dom": "16.12.0",
"react-test-renderer": "16.12.0",
"rollup": "1.31.1",
"rollup-plugin-babel": "4.3.3",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-uglify": "6.0.4",
"tape": "4.13.0",
"webpack": "4.41.6"
}
}