-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
86 lines (86 loc) · 2.81 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
{
"name": "preact-portal",
"amdName": "preactPortal",
"version": "1.1.3",
"description": "Render Preact components somewhere in [a different] space.",
"main": "dist/preact-portal.js",
"minified:main": "dist/preact-portal.min.js",
"jsnext:main": "src/preact-portal.js",
"scripts": {
"build": "npm-run-all transpile minify size",
"transpile": "rollup -c rollup.config.js",
"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": "echo \"gzip size: $(gzip-size $npm_package_minified_main | pretty-bytes)\"",
"test": "npm-run-all lint build test:karma",
"lint": "eslint {src,test}",
"test:karma": "karma start --single-run",
"prepublish": "npm-run-all build test",
"release": "npm run -s build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish",
"start": "node server.js"
},
"keywords": [
"preact",
"react",
"portals"
],
"files": [
"src",
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/developit/preact-portal.git"
},
"author": "Jason Miller <jason@developit.ca>",
"license": "MIT",
"bugs": {
"url": "https://github.com/developit/preact-portal/issues"
},
"homepage": "https://github.com/developit/preact-portal",
"devDependencies": {
"babel-core": "^6.6.4",
"babel-eslint": "^6.1.2",
"babel-loader": "^6.2.3",
"babel-plugin-transform-class-properties": "^6.5.2",
"babel-plugin-transform-object-rest-spread": "^6.6.4",
"babel-plugin-transform-react-jsx": "^6.6.5",
"babel-preset-es2015": "^6.6.0",
"babel-preset-es2015-loose": "^7.0.0",
"babel-preset-es2015-loose-rollup": "^7.0.0",
"babel-preset-es2015-minimal": "^2.1.0",
"babel-preset-es2015-minimal-rollup": "^2.0.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-0": "^6.5.0",
"chai": "^4.1.2",
"eslint": "^3.4.0",
"gzip-size-cli": "^1.0.0",
"karma": "^1.2.0",
"karma-chai": "^0.1.0",
"karma-chai-sinon": "^0.1.5",
"karma-mocha": "^1.1.1",
"karma-mocha-reporter": "^2.1.0",
"karma-phantomjs-launcher": "^1.0.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^1.7.0",
"mkdirp": "^0.5.1",
"mocha": "^5.0.0",
"npm-run-all": "^3.0.0",
"phantomjs-prebuilt": "^2.1.4",
"preact": "^8.2.7",
"pretty-bytes-cli": "^1.0.0",
"rollup": "^0.34.11",
"rollup-plugin-babel": "^2.4.0",
"rollup-plugin-commonjs": "^3.3.1",
"rollup-plugin-node-resolve": "^2.0.0",
"sinon": "^4.2.2",
"sinon-chai": "^2.8.0",
"uglify-js": "^2.6.2",
"webpack": "^1.12.14"
},
"peerDependencies": {
"preact": "*"
},
"directories": {
"test": "test"
}
}