|
6 | 6 | "node": ">=8.9" |
7 | 7 | }, |
8 | 8 | "scripts": { |
9 | | - "build:all-dist": "npm run build:dist8 && npm run build:dist10", |
10 | 9 | "build:apidocs": "lb-apidocs", |
11 | | - "build": "lb-tsc", |
12 | | - "build:dist8": "lb-tsc es2017", |
13 | | - "build:dist10": "lb-tsc es2018", |
| 10 | + "build": "lb-tsc es2017 --outDir dist --copy-resources", |
14 | 11 | "clean": "lb-clean loopback-explorer*.tgz dist* package api-docs", |
15 | 12 | "pretest": "npm run build", |
16 | | - "integration": "lb-mocha \"DIST/test/integration/**/*.js\"", |
17 | | - "test": "lb-mocha \"DIST/test/unit/**/*.js\" \"DIST/test/integration/**/*.js\"", |
18 | | - "unit": "lb-mocha \"DIST/test/unit/**/*.js\"", |
| 13 | + "integration": "lb-mocha \"dist/test/integration/**/*.js\"", |
| 14 | + "test": "lb-mocha \"dist/test/unit/**/*.js\" \"dist/test/integration/**/*.js\"", |
| 15 | + "unit": "lb-mocha \"dist/test/unit/**/*.js\"", |
19 | 16 | "verify": "npm pack && tar xf loopback-explorer*.tgz && tree package && npm run clean" |
20 | 17 | }, |
21 | 18 | "author": "IBM", |
22 | 19 | "copyright.owner": "IBM Corp.", |
23 | 20 | "license": "MIT", |
24 | 21 | "dependencies": { |
| 22 | + "@loopback/context": "^1.0.0", |
| 23 | + "@loopback/core": "^1.0.0", |
| 24 | + "@loopback/dist-util": "^0.3.6", |
| 25 | + "@loopback/rest": "^1.1.0", |
25 | 26 | "@types/express": "^4.16.0", |
26 | 27 | "ejs": "^2.6.1", |
27 | 28 | "serve-static": "^1.13.2", |
28 | | - "swagger-ui-dist": "^3.18.2" |
| 29 | + "swagger-ui-dist": "^3.19.0" |
29 | 30 | }, |
30 | 31 | "devDependencies": { |
31 | | - "@loopback/build": "^0.7.1", |
32 | | - "@loopback/dist-util": "^0.3.6", |
33 | | - "@loopback/testlab": "^0.11.5", |
| 32 | + "@loopback/build": "^1.0.0", |
| 33 | + "@loopback/testlab": "^1.0.0", |
34 | 34 | "@types/ejs": "^2.6.0", |
35 | | - "@types/node": "^10.1.1", |
| 35 | + "@types/node": "^10.10.1", |
36 | 36 | "@types/serve-static": "^1.13.2", |
37 | 37 | "express": "^4.16.3" |
38 | 38 | }, |
|
0 commit comments