Skip to content

Commit f071ad3

Browse files
author
Simon Hofmann
committed
(#4) Added run-script-os package
1 parent c9277c1 commit f071ad3

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

package-lock.json

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+11-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,14 @@
77
"scripts": {
88
"clean": "cmake-js clean",
99
"patch": "node ./patch-packagename.js",
10-
"build:debug": "cmake-js rebuild --debug",
11-
"build:debug:win": "cmake-js rebuild --debug -G \"Visual Studio 15 2017 Win64\"",
12-
"build:release": "cmake-js rebuild",
13-
"build:release:win": "cmake-js rebuild -G \"Visual Studio 15 2017 Win64\""
10+
"build:debug": "run-script-os",
11+
"build:debug:default": "cmake-js rebuild --debug",
12+
"build:debug:win32": "cmake-js rebuild --debug -G \"Visual Studio 15 2017 Win64\"",
13+
"build:release": "run-script-os",
14+
"build:release:default": "cmake-js rebuild",
15+
"build:release:win32": "cmake-js rebuild -G \"Visual Studio 15 2017 Win64\"",
16+
"prepublishOnly": "npm run build:release",
17+
"publish:next": "npm publish --tag next"
1418
},
1519
"repository": {
1620
"type": "git",
@@ -41,5 +45,8 @@
4145
},
4246
"engines": {
4347
"node": ">=10.15.3"
48+
},
49+
"devDependencies": {
50+
"run-script-os": "1.1.1"
4451
}
4552
}

0 commit comments

Comments
 (0)