Skip to content

Commit 7e9c587

Browse files
committed
chore: force do not install missing commands
1 parent 22c12c1 commit 7e9c587

File tree

3 files changed

+3
-14
lines changed

3 files changed

+3
-14
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ coverage
99
dist
1010
.eslintcache
1111
lib
12+
.DS_Store

build.sh

Lines changed: 0 additions & 13 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
"version": "34.0.0",
44
"description": "Electrom is a resource management solution for Electron applications, which is convenient for performance management and friendly debugging of multiple windows",
55
"scripts": {
6-
"build": "sh ./build.sh",
6+
"build": "npm run clean && tsc && copyup 'src/**/*.html' lib/ && copyup 'src/**/*.less' lib/ && npm run build:web",
77
"build:web": "cross-env NODE_ENV=production webpack",
8+
"clean": "rm -rf ./lib && rm -rf ./dist",
89
"dev": "concurrently npm:dev:*",
910
"dev:main": "cross-env NODE_ENV=development electron ./example/bootstrap.js",
1011
"dev:web": "cross-env NODE_ENV=development webpack-dev-server",

0 commit comments

Comments
 (0)