Skip to content

Commit 5e5b52f

Browse files
committed
fixed scripts
1 parent df2cf49 commit 5e5b52f

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

js_npm/rest/spacex-api/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"description": "Open Source REST API for data about SpaceX",
55
"main": "server.js",
66
"scripts": {
7-
"build": "babel em src -d build/src --copy-files",
8-
"em": "node build/src/em-main.js",
97
"test": "npm run lint && npm run check-dependencies && jest --silent --verbose",
108
"start": "node src/server.js",
119
"worker": "node src/jobs/worker.js",
1210
"lint": "eslint .",
13-
"check-dependencies": "npx depcheck --ignores=\"pino-pretty\""
11+
"check-dependencies": "npx depcheck --ignores=\"pino-pretty\"",
12+
"em:build": "rimraf instrumented && babel src -d instrumented/src --copy-files && babel em -d instrumented/em --copy-files",
13+
"em:run": "node instrumented/em/em-main.js"
1414
},
1515
"repository": {
1616
"type": "git",
@@ -72,7 +72,8 @@
7272
"evomaster-client-js": "file:../../evomaster-client-js",
7373
"superagent": "5.2.2",
7474
"supertest": "4.0.2",
75-
"testcontainers": "6.3.0"
75+
"testcontainers": "6.3.0",
76+
"rimraf": "^3.0.0"
7677
},
7778
"jest": {
7879
"testEnvironment": "node",

0 commit comments

Comments
 (0)