Skip to content

Commit

Permalink
feat(soffit): enhance develope scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
AliMD committed Feb 6, 2023
1 parent 3c63908 commit d4b5f5b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
2 changes: 2 additions & 0 deletions ui/pwa-helper/esbuild.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ else {

/*
TODO:
- Input Config
- version
- Workbox and sw
- Res (all assets) hash
- PostCSS css file
Expand Down
14 changes: 9 additions & 5 deletions uniquely/soffit-pwa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,21 @@
"directory": "ui/soffit-pwa"
},
"scripts": {
"b": "yarn build --debug",
"cb": "yarn build --debug --clean",
"b": "yarn build-dev",
"cb": "run-s clean build-dev",
"s": "yarn start",
"w": "yarn watch",
"start": "NODE_OPTIONS=--enable-source-maps run-s clean build serve",
"clean": "rm -rf dist build .tsbuildinfo",
"build": "./esbuild.mjs",
"build": "yarn build:es",
"build-dev": "run-s build:root build:tsc \"build:es --debug\"",
"build:es": "./esbuild.mjs",
"build:tsc": "tsc --build",
"build:root": "cd ../../ && yarn build:ts",
"serve": "wds",
"watch": "run-p watch:es serve",
"watch:es": "yarn build --clean --watch --debug"
"watch": "run-p watch:root watch:es serve",
"watch:es": "yarn build:es --clean --watch --debug",
"watch:root": "cd ../../ && yarn watch:ts"
},
"devDependencies": {
"@alwatr/element": "^0.28.0",
Expand Down

0 comments on commit d4b5f5b

Please sign in to comment.