Skip to content

Commit 06d939a

Browse files
author
hirsch88
committed
Fix nps scripts for windows
1 parent 9074e29 commit 06d939a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

package-scripts.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ const { series, crossEnv, concurrent, rimraf, runInNewWindow } = require('nps-ut
22

33
module.exports = {
44
scripts: {
5+
default: {
6+
script: 'nps start'
7+
},
58
/**
69
* Starts the builded app from the dist directory
710
*/

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
"node": ">= 6.9.1"
88
},
99
"scripts": {
10-
"start": "node dist/app.js",
11-
"test": "nps test",
10+
"start": "nps",
11+
"test": "npm start test",
12+
"build": "npm start build",
1213
"ts-node": "./node_modules/.bin/ts-node",
1314
"ts-node:fast": "./node_modules/.bin/ts-node -F",
1415
"console": "npm run ts-node:fast -- ./src/console/lib/console.ts",

0 commit comments

Comments
 (0)