-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
103 lines (103 loc) · 3.31 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
99
100
101
102
103
{
"name": "preact-sidenav",
"amdName": "preactSidenav",
"version": "0.3.2",
"description": "A compact sidenav",
"main": "dist/preact-sidenav.js",
"minified:main": "dist/preact-sidenav.min.js",
"jsnext:main": "src/sidenav/index.js",
"scripts": {
"postbuild": "npm-run-all css size:css",
"css": "node-sass --output-style compressed src/sidenav/sidenav.scss > dist/sidenav.css",
"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 $npm_package_jsnext_main -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)\"",
"size:css": "size=$(gzip-size ./dist/sidenav.css) && echo \"gzip size css: $size / $(pretty-bytes $size)\"",
"test": "npm-run-all lint build test:karma",
"lint": "eslint {src,test}",
"test:karma": "karma start --single-run",
"test:watch": "karma start",
"oldprepublish": "npm-run-all build test",
"release": "npm run clean && npm run build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
},
"babel": {
"presets": [
"es2015",
"stage-0"
],
"plugins": [
"transform-class-properties",
[
"transform-react-jsx",
{
"pragma": "h"
}
]
]
},
"keywords": [
"preact",
"sidenav",
"mobile"
],
"files": [
"src",
"dist"
],
"author": "Jordi Collell <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/jordic/preact-sidenav.git"
},
"bugs": {
"url": "https://github.com/jordic/preact-sidenav/issues"
},
"homepage": "https://github.com/jordic/preact-sidenav",
"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": "^1.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",
"node-sass": "^4.5.0",
"npm-run-all": "^3.0.0",
"phantomjs-prebuilt": "^2.1.7",
"preact": "^7.2.0",
"pretty-bytes-cli": "^1.0.0",
"rimraf": "^2.5.1",
"rollup": "^0.36.3",
"rollup-plugin-babel": "^2.4.0",
"rollup-plugin-memory": "^2.0.0",
"sinon": "^1.17.4",
"sinon-chai": "^2.8.0",
"uglify-js": "^2.6.1",
"webpack": "^1.13.1"
},
"dependencies": {
"preact": "^7.2.0"
}
}