-
Notifications
You must be signed in to change notification settings - Fork 43
/
package.json
92 lines (92 loc) · 2.83 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
{
"name": "preact-habitat",
"amdName": "preactHabitat",
"version": "3.3.0",
"description": "A place for your happy widget in every DOM.",
"main": "dist/preact-habitat.js",
"module": "dist/preact-habitat.es.js",
"main:umd": "dist/preact-habitat.umd.js",
"jsnext:main": "dist/preact-habitat.es.js",
"homepage": "https://github.com/zouhir/preact-habitat/",
"types": "src/habitat.d.ts",
"author": {
"name": "Zouhir Chahoud",
"email": "[email protected]",
"url": "http://zouhir.org/"
},
"scripts": {
"clean": "rimraf dist",
"build": "npm-run-all clean transpile minify",
"transpile": "rollup -c",
"minify": "uglifyjs dist/preact-habitat.js -cm toplevel -o dist/preact-habitat.js -p relative --in-source-map dist/preact-habitat.js.map --source-map dist/preact-habitat.js.map && uglifyjs dist/preact-habitat.umd.js -cm -o dist/preact-habitat.umd.js -p relative --in-source-map dist/preact-habitat.umd.js.map --source-map dist/preact-habitat.umd.js.map",
"test": "jest",
"test:watch": "jest --watchAll",
"coverage": "jest --coverage",
"prepublish": "npm run build"
},
"keywords": [
"JavaScript",
"preact",
"react",
"DOM",
"preact in DOM",
"virtual dom",
"widget"
],
"license": "MIT",
"devDependencies": {
"babel": "^6.23.0",
"babel-eslint": "^7.2.3",
"babel-jest": "^20.0.3",
"babel-loader": "^7.0.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-polyfill": "^6.23.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-es2015-minimal": "^2.1.0",
"babel-preset-es2015-minimal-rollup": "^2.1.1",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.24.1",
"chai": "^4.0.1",
"cross-env": "^5.0.0",
"eslint": "^3.19.0",
"eslint-config-standard": "^10.2.1",
"eslint-config-standard-preact": "^1.1.1",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-react": "^7.0.1",
"eslint-plugin-standard": "^3.0.1",
"istanbul": "^0.4.5",
"jest-cli": "^20.0.4",
"jsdom": "^11.0.0",
"mocha": "^3.4.2",
"npm-run-all": "^4.0.2",
"preact": "^10.0.0-rc.1",
"regenerator-runtime": "^0.10.5",
"replace-bundle-webpack-plugin": "^1.0.0",
"rimraf": "^2.6.1",
"rollup": "^0.41.6",
"rollup-plugin-babel": "^2.7.1",
"rollup-plugin-buble": "^0.15.0",
"rollup-plugin-commonjs": "^8.1.0",
"rollup-plugin-es3": "^1.0.3",
"rollup-plugin-node-resolve": "^3.0.0",
"simulant": "^0.2.2",
"uglify-js": "^2.8.29"
},
"peerDependencies": {
"preact": "*"
},
"dependencies": {},
"jest": {
"transform": {
"^.+\\.js$": "babel-jest"
},
"moduleFileExtensions": [
"js"
],
"collectCoverageFrom": [
"src/**/*.{js}"
]
}
}