-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathpackage.json
98 lines (98 loc) · 3.43 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
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "preact-redux",
"amdName": "preactRedux",
"version": "2.1.0",
"description": "Wraps react-redux up for Preact, without preact-compat",
"main": "dist/preact-redux.js",
"module": "dist/preact-redux.esm.js",
"types": "src/preact-redux.d.ts",
"jsnext:main": "dist/preact-redux.esm.js",
"minified:main": "dist/preact-redux.min.js",
"scripts": {
"clean": "rimraf dist/",
"build": "npm-run-all clean transpile:* minify size",
"transpile:umd": "rollup -c --environment FORMAT:umd",
"transpile:es": "rollup -c --environment FORMAT:es",
"minify": "terser dist/preact-redux.js --define NODE_ENV=production -c 'pure_funcs=\"classCallCheck,console.warn,invariant,warning,React.forwardRef\",unsafe,collapse_vars,evaluate,loops,keep_fargs=false,pure_getters,unused,dead_code' -m --mangle-props regex=/_/ -o dist/preact-redux.min.js --source-map content=dist/preact-redux.js.map,filename=dist/preact-redux.min.js.map",
"size": "gzip-size dist/preact-redux.min.js",
"test": "cross-env NODE_ENV=development npm-run-all lint transpile:* test:karma",
"lint": "eslint src/ test/",
"test:karma": "karma start --single-run",
"test:watch": "karma start",
"prepublish": "npm-run-all build test",
"release": "cross-var npm run build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
},
"keywords": [
"preact",
"redux"
],
"files": [
"src",
"dist"
],
"author": "Jason Miller <jason@developit.ca>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/developit/preact-redux.git"
},
"bugs": {
"url": "https://github.com/developit/preact-redux/issues"
},
"homepage": "https://github.com/developit/preact-redux",
"peerDependencies": {
"preact": "<10",
"redux": ">=2",
"preact-context": ">=1.1.0"
},
"devDependencies": {
"@babel/cli": "^7.4.3",
"@babel/core": "^7.4.3",
"@babel/plugin-proposal-class-properties": "^7.4.0",
"@babel/preset-env": "^7.4.3",
"@babel/preset-react": "^7.0.0",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.5",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"chai": "^4.2.0",
"cross-env": "^5.2.0",
"cross-var": "^1.0.3",
"diff": "^4.0.1",
"eslint": "^5.16.0",
"eslint-plugin-react": "^7.12.4",
"gzip-size-cli": "^3.0.0",
"karma": "^4.0.1",
"karma-chai-sinon": "^0.1.5",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.3",
"karma-phantomjs-launcher": "^1.0.4",
"karma-source-map-support": "^1.4.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^3.0.5",
"mkdirp": "^0.5.1",
"mocha": "^6.1.2",
"npm-run-all": "^4.0.2",
"phantomjs-prebuilt": "^2.1.14",
"preact": "^8.1.0",
"preact-context": "^1.1.3",
"pretty-bytes-cli": "^2.0.0",
"react-redux": "^6.0.1",
"redux": "^4.0.0",
"rimraf": "^2.6.1",
"rollup": "^1.9.2",
"rollup-plugin-alias": "^1.2.1",
"rollup-plugin-analyzer": "^3.0.0",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-cjs-es": "^0.7.0",
"rollup-plugin-cleanup": "^3.1.1",
"rollup-plugin-commonjs": "^9.3.4",
"rollup-plugin-es3": "^1.0.3",
"rollup-plugin-invariant": "^0.5.2",
"rollup-plugin-node-resolve": "^4.2.2",
"rollup-plugin-replace": "^2.2.0",
"sinon": "^7.3.1",
"sinon-chai": "^3.3.0",
"terser": "^3.17.0",
"webpack": "^4.29.6"
}
}