-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
85 lines (85 loc) · 3 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
{
"name": "wblinds",
"version": "0.0.1",
"main": "web/index.ts",
"license": "MIT",
"repository": {
"url": "https://github.com/maxakuru/WBlinds"
},
"scripts": {
"prepare": "husky install",
"lint": "./node_modules/.bin/eslint web/**/*.ts",
"dev": "cross-env NODE_ENV=dev rollup -w -c rollup.config.js",
"build": "npm run build:ui && npm run build:cpp",
"build:ui": "rollup -c rollup.config.js",
"postbuild:ui": "npm run build:uih",
"build:uih": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\", \"lib\": [\"ES2020\"], \"resolveJsonModule\": true }' ts-node ./scripts/build.uih.ts",
"build:cpp": "PATH=$PATH:~/.platformio/penv/bin pio run",
"flash": "PATH=$PATH:~/.platformio/penv/bin pio run --target upload",
"flash:ota": "PATH=$PATH:~/.platformio/penv/bin pio run --target upload --environment esp32ota --upload-port ",
"pull:homekit": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\", \"lib\": [\"ES2020\"] }' ts-node ./scripts/pull.homekit.ts"
},
"resolutions": {
"@ampproject/rollup-plugin-closure-compiler/acorn": "8.3.0",
"@ampproject/rollup-plugin-closure-compiler/acorn-walk": "8.1.0"
},
"dependencies": {
"@ampproject/rollup-plugin-closure-compiler": "0.26.0",
"clean-css": "^4.2.3",
"cross-env": "^7.0.3",
"dotenv-flow": "^3.2.0",
"html-minifier-terser": "^5.1.1",
"inliner": "^1.13.1",
"rollup": "^2.50.6",
"style-inject": "^0.3.0",
"typescript": "^4.3.2"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-replace": "^2.4.2",
"@rollup/plugin-typescript": "^8.2.1",
"@types/child-process-promise": "^2.2.1",
"@types/estree": "^0.0.49",
"@types/google-closure-compiler": "^0.0.18",
"@types/node": "^16.0.0",
"@types/uuid": "^8.3.1",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"acorn": "^8.4.1",
"acorn-walk": "^8.1.1",
"autoprefixer": "^10.2.6",
"child-process-promise": "^2.2.1",
"cssnano-preset-default": "^5.1.2",
"eslint": "^7.28.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-prettier": "^3.4.0",
"estree-walker": "^2.0.2",
"google-closure-compiler": "^20210601.0.0",
"google-closure-library": "^20210601.0.0",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"magic-string": "^0.25.7",
"postcss": "^8.3.0",
"postcss-import": "^14.0.2",
"postcss-nested": "^5.0.5",
"postcss-uncss": "^0.17.0",
"prettier": "^2.3.1",
"rollup-plugin-embed-css": "^1.0.21",
"rollup-plugin-gzip": "^2.5.0",
"rollup-plugin-html": "^0.2.1",
"rollup-plugin-postcss": "^4.0.0",
"rollup-plugin-serve": "^1.1.0",
"rollup-plugin-svg": "^2.0.0",
"ts-node": "^10.0.0",
"uncss": "^0.17.3",
"uuid": "^8.3.2"
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix"
]
}
}