-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
41 lines (41 loc) · 1.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
{
"private": true,
"name": "wifi-connect-ui",
"version": "0.1.0",
"license": "MIT",
"scripts": {
"start": "if-env NODE_ENV=production && npm run -s serve || npm run -s dev",
"build":
"npm run build:bundle && npm run build:config && npm run build:tar",
"build:bundle": "preact build --production --no-prerender",
"build:config": "cp src/config.json build/js/",
"build:tar":
"ln -s build ${npm_package_name}-v${npm_package_version} && rm -f *.tar.gz && tar -zLcvf ${npm_package_name}-v${npm_package_version}.tar.gz ${npm_package_name}-v${npm_package_version} && rm ${npm_package_name}-v${npm_package_version}",
"serve": "npm run build && preact serve",
"dev": "preact watch",
"lint": "eslint src",
"test": "jest",
"release": "release-it"
},
"eslintConfig": {
"extends": "eslint-config-airbnb"
},
"eslintIgnore": ["build/*"],
"devDependencies": {
"babel-plugin-transform-runtime": "^6.23.0",
"eslint": "^4.5.0",
"eslint-config-airbnb": "^16.1.0",
"if-env": "^1.0.0",
"jest": "^21.2.1",
"preact-cli": "^2.0.0",
"prettier-eslint": "^8.2.1",
"release-it": "^5.0.0"
},
"dependencies": {
"lodash": "^4.17.4",
"preact": "^8.2.1",
"preact-compat": "^3.17.0",
"preact-router": "^2.5.5",
"window-or-global": "^1.0.1"
}
}