-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
40 lines (40 loc) · 1.27 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
{
"name": "preact-minimal",
"version": "2.0.0",
"description": "Preact minimal structure",
"repository": {
"type": "git",
"url": "git+https://github.com/aganglada/preact-minimal.git"
},
"author": "Alejandro Garcia Anglada <[email protected]>",
"license": "MIT",
"dependencies": {
"preact": "^8.5.2",
"preact-router": "^2.6.1"
},
"devDependencies": {
"@babel/core": "^7.6.0",
"@babel/plugin-transform-react-jsx": "^7.3.0",
"@babel/preset-env": "^7.6.0",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.6.0",
"babel-loader": "^8.0.6",
"html-webpack-plugin": "^3.2.0",
"http-server": "^0.11.1",
"npm-run-all": "^4.1.5",
"offline-plugin": "^5.0.7",
"svg-inline-loader": "^0.8.0",
"webpack": "^4.40.2",
"webpack-cli": "^3.3.9",
"webpack-dev-server": "^3.8.1",
"webpack-merge": "^4.2.2"
},
"scripts": {
"copy:public": "cp -r public/ build/",
"webpack:dev": "webpack-dev-server --config ./config/webpack.config.dev.babel.js --env=developement",
"webpack:prod": "NODE_ENV=production webpack --config ./config/webpack.config.prod.babel.js --env=production",
"dev": "run-s copy:public webpack:dev",
"prod": "run-s copy:public webpack:prod",
"start": "http-server build/"
}
}