-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
84 lines (84 loc) · 3.17 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
{
"name": "preact-views",
"amdName": "preactViews",
"version": "1.0.0",
"description": "Connect your components up to that address bar.",
"main": "dist/preact-views.js",
"jsnext:main": "src/index.js",
"minified:main": "dist/preact-views.min.js",
"module": "src/index.js",
"scripts": {
"clean": "rimraf dist/",
"build": "npm-run-all clean transpile optimize minify size",
"transpile": "rollup -c rollup.config.js -m ${npm_package_main}.map -f umd -n $npm_package_amdName $npm_package_jsnext_main -o $npm_package_main",
"optimize": "uglifyjs $npm_package_main -bc dead_code --pure-funcs _possibleConstructorReturn _classCallCheck -o $npm_package_main -p relative --in-source-map ${npm_package_main}.map --source-map ${npm_package_main}.map",
"minify": "uglifyjs $npm_package_main -mc collapse_vars,evaluate,screw_ie8,unsafe,loops=false,keep_fargs=false,pure_getters,unused,dead_code --pure-funcs _possibleConstructorReturn _classCallCheck -o $npm_package_minified_main -p relative --in-source-map ${npm_package_main}.map --source-map ${npm_package_minified_main}.map",
"size": "echo \"gzip size: $(gzip-size $npm_package_minified_main --raw) bytes\"",
"test": "eslint src test && karma start --single-run",
"prepublish": "npm run -s build && npm test",
"release": "npm run build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
},
"files": [
"src",
"dist"
],
"keywords": [
"preact",
"views"
],
"author": "Jason Miller <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/developit/preact-views.git"
},
"bugs": {
"url": "https://github.com/developit/preact-views/issues"
},
"homepage": "https://github.com/developit/preact-views",
"peerDependencies": {
"preact": "*"
},
"devDependencies": {
"babel-cli": "^6.9.0",
"babel-core": "^6.9.1",
"babel-eslint": "^7.0.0",
"babel-loader": "^6.2.4",
"babel-plugin-transform-class-properties": "^6.9.1",
"babel-plugin-transform-es2015-classes": "^6.9.0",
"babel-plugin-transform-object-assign": "^6.0.0",
"babel-plugin-transform-react-jsx": "^6.8.0",
"babel-preset-es2015": "^6.9.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-0": "^6.5.0",
"chai": "^3.5.0",
"copyfiles": "^1.0.0",
"diff": "^3.0.0",
"eslint": "^3.0.0",
"eslint-plugin-react": "^6.0.0",
"gzip-size-cli": "^2.0.0",
"karma": "^1.0.0",
"karma-chai-sinon": "^0.1.5",
"karma-mocha": "^1.0.1",
"karma-mocha-reporter": "^2.0.3",
"karma-phantomjs-launcher": "^1.0.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^2.0.1",
"mkdirp": "^0.5.1",
"mocha": "^3.0.0",
"npm-run-all": "^4.0.1",
"phantomjs-prebuilt": "^2.1.7",
"preact": "^7.2.0",
"pretty-bytes-cli": "^1.0.0",
"rimraf": "^2.5.1",
"rollup": "^0.41.4",
"rollup-plugin-babel": "^2.4.0",
"rollup-plugin-es3": "^1.0.3",
"rollup-plugin-memory": "^2.0.0",
"rollup-plugin-post-replace": "^1.0.0",
"sinon": "^1.17.4",
"sinon-chai": "^2.8.0",
"uglify-js": "^2.6.1",
"webpack": "^1.13.1"
}
}