forked from preactjs/preact
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
63 lines (63 loc) · 2.39 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
{
"name": "preact",
"amdName": "preact",
"version": "2.7.3",
"description": "Tiny & fast Component-based virtual DOM framework.",
"main": "dist/preact.js",
"jsnext:main": "src/preact.js",
"minified:main": "dist/preact.min.js",
"scripts": {
"clean": "rimraf dist/",
"build": "npm-run-all clean transpile minify size",
"transpile": "rollup -c rollup.config.js -m ${npm_package_main}.map -f umd -n $npm_package_amdName src/preact.js -o $npm_package_main",
"minify": "uglifyjs $npm_package_main -cm -o $npm_package_minified_main -p relative --in-source-map ${npm_package_main}.map --source-map ${npm_package_minified_main}.map",
"size": "size=$(gzip-size $npm_package_minified_main) && echo \"gzip size: $size / $(pretty-bytes $size)\"",
"test": "eslint src test && npm run test:mocha && npm run test:karma",
"test:mocha": "mocha --recursive --compilers js:babel/register test/shared test/node",
"test:karma": "karma start --single-run",
"test:mocha:watch": "npm run test:mocha -- --watch",
"test:karma:watch": "npm run test:karma -- no-single-run",
"prepublish": "npm run build",
"release": "npm run build && npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
},
"repository": {
"type": "git",
"url": "https://github.com/developit/preact.git"
},
"author": "Jason Miller <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/developit/preact/issues"
},
"homepage": "https://github.com/developit/preact",
"devDependencies": {
"babel": "^5.8.23",
"babel-core": "^5.8.24",
"babel-eslint": "^4.1.1",
"babel-loader": "^5.3.2",
"babel-runtime": "^5.8.24",
"chai": "^3.4.1",
"eslint": "^1.9.0",
"gzip-size-cli": "^1.0.0",
"karma": "^0.13.15",
"karma-babel-preprocessor": "^5.2.2",
"karma-chai": "^0.1.0",
"karma-chai-sinon": "^0.1.5",
"karma-mocha": "^0.2.0",
"karma-mocha-reporter": "^1.1.1",
"karma-phantomjs-launcher": "^0.2.1",
"karma-sourcemap-loader": "^0.3.6",
"karma-webpack": "^1.7.0",
"mocha": "^2.3.3",
"npm-run-all": "^1.3.3",
"phantomjs": "^1.9.18",
"pretty-bytes": "^2.0.1",
"rimraf": "2.4.4",
"rollup": "^0.24.0",
"rollup-plugin-babel": "^1.0.0",
"sinon": "^1.17.2",
"sinon-chai": "^2.8.0",
"uglify-js": "^2.6.0",
"webpack": "^1.12.4"
}
}