forked from preactjs/preact-cli
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
165 lines (165 loc) · 5.07 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
{
"name": "preact-cli",
"version": "1.3.0",
"description": "Start building a Preact Progressive Web App in seconds.",
"repository": "developit/preact-cli",
"main": "lib/index.js",
"bin": {
"preact": "./lib/index.js"
},
"scripts": {
"prebuild": "rimraf lib",
"build": "babel src -d lib -D",
"prepublish": "npm run -s build",
"dev": "babel-node src",
"lint": "eslint src tests",
"pretest": "npm run -s build && rimraf ./tests/output",
"test": "jest",
"posttest": "rimraf ./tests/output",
"postinstall": "node check.js",
"test:build": "babel-node src build --cwd examples/root",
"test:serve": "npm run -s test:build && babel-node src serve --port 3000 --cwd examples/root",
"test:serve:config": "npm run -s test:build && babel-node src serve --server config --cwd examples/root",
"test:simple": "babel-node src build --cwd examples/simple && babel-node src serve --port 3000 --cwd examples/simple",
"test:empty": "babel-node src build --cwd examples/empty && babel-node src serve --port 3000 --cwd examples/empty",
"test:watch": "babel-node src watch --cwd examples/root --port 3000",
"test:deploy": "npm run test:build && cp examples/root/build/index.html examples/root/build/200.html && surge -d cli-demo.preactjs.com examples/root/build"
},
"engines": {
"node": ">=6"
},
"files": [
"lib",
"examples",
"check.js"
],
"keywords": [
"preact",
"cli",
"pwa",
"project",
"generator"
],
"eslintConfig": {
"extends": "eslint:recommended",
"parser": "babel-eslint",
"globals": {
"Promise": 1
},
"plugins": [
"react"
],
"settings": {
"react": {
"pragma": "h"
}
},
"env": {
"node": true,
"browser": true
},
"rules": {
"no-console": 1,
"no-empty": 0,
"semi": 2,
"keyword-spacing": 2,
"react/no-string-refs": 2,
"react/no-find-dom-node": 2,
"react/no-is-mounted": 2,
"react/jsx-no-comment-textnodes": 2,
"react/jsx-curly-spacing": 2,
"react/jsx-no-undef": 2,
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2
}
},
"jest": {
"setupTestFrameworkScriptFile": "<rootDir>/tests/setup.js"
},
"author": "Jason Miller <jason@developit.ca> (http://jasonformat.com)",
"license": "MIT",
"bugs": "https://github.com/developit/preact-cli/issues",
"homepage": "https://github.com/developit/preact-cli",
"devDependencies": {
"babel-cli": "^6.24.0",
"babel-eslint": "^7.2.1",
"babel-plugin-transform-runtime": "^6.23.0",
"chrome-launcher": "^0.1.1",
"chrome-remote-interface": "^0.23.2",
"eslint": "^3.19.0",
"eslint-plugin-react": "^7.0.1",
"html-looks-like": "^1.0.2",
"jest": "^20.0.4",
"lodash": "^4.17.4",
"ncp": "^2.0.0",
"node-sass": "^4.5.3",
"sass-loader": "^6.0.6",
"stylus": "^0.54.5",
"stylus-loader": "^3.0.1",
"uuid": "^3.0.1"
},
"dependencies": {
"@webpack-blocks/css-modules": "^0.4.0",
"@webpack-blocks/dev-server2": "^0.4.0",
"@webpack-blocks/extract-text2": "^0.4.0",
"@webpack-blocks/postcss": "^0.4.3",
"@webpack-blocks/webpack2": "^0.4.0",
"autoprefixer": "^7.1.0",
"babel-loader": "^7.0.0",
"babel-plugin-jsx-pragmatic": "^1.0.2",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-object-assign": "^6.22.0",
"babel-plugin-transform-react-constant-elements": "^6.23.0",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-plugin-transform-react-remove-prop-types": "^0.4.5",
"babel-preset-env": "^1.3.3",
"babel-preset-stage-1": "^6.24.1",
"babel-register": "^6.24.1",
"copy-webpack-plugin": "^4.0.1",
"cross-spawn-promise": "^0.10.1",
"css-modules-require-hook": "^4.0.6",
"devcert-san": "^0.3.3",
"ejs-loader": "^0.3.0",
"es6-promisify": "^5.0.0",
"file-loader": "^0.11.1",
"fs.promised": "^3.0.0",
"get-port": "^3.1.0",
"html-webpack-exclude-assets-plugin": "0.0.5",
"html-webpack-plugin": "^2.28.0",
"ip": "^1.1.5",
"isomorphic-unfetch": "^2.0.0",
"json-loader": "^0.5.4",
"less": "^2.7.2",
"less-loader": "^4.0.3",
"loader-utils": "^1.1.0",
"minimatch": "^3.0.3",
"mkdirp": "^0.5.1",
"offline-plugin": "^4.6.2",
"ora": "^1.2.0",
"persist-path": "^1.0.1",
"postcss-less": "^0.16.1",
"preact": "^8.1.0",
"preact-compat": "^3.14.3",
"preact-render-to-string": "^3.6.0",
"preact-router": "^2.5.2",
"progress-bar-webpack-plugin": "^1.9.3",
"promise-polyfill": "^6.0.2",
"raw-loader": "^0.5.1",
"recursive-copy": "^2.0.6",
"require-relative": "^0.8.7",
"rimraf": "^2.6.1",
"script-ext-html-webpack-plugin": "^1.8.0",
"simplehttp2server": "^2.0.0",
"source-map": "^0.5.6",
"stack-trace": "0.0.10",
"sw-precache-webpack-plugin": "^0.11.2",
"tmp": "0.0.31",
"unfetch": "^3.0.0",
"url-loader": "^0.5.8",
"webpack": "^2.3.3",
"webpack-dev-server": "^2.4.5",
"webpack-plugin-replace": "^1.1.1",
"which": "^1.2.14",
"yargs": "^8.0.1"
}
}