|
6 | 6 | "private": true, |
7 | 7 | "scripts": { |
8 | 8 | "start": "ts-node test/examples/basic/server.js", |
9 | | - "bundle": "ts-node scripts/bundle", |
| 9 | + "bundle": "ts-packager", |
10 | 10 | "clean": "rm -rf dist", |
11 | | - "compile:dev": "tsc --p tsconfig.json", |
12 | | - "compile:prod": "tsc --p tsconfig.dist.json", |
13 | | - "build:spec": "npm run clean && npm run compile:dev", |
14 | | - "build:prod": "npm run clean && npm run compile:prod && npm run bundle", |
15 | | - "prepare": "npm run build:prod", |
16 | | - "test": "npm run build:spec && npm run coverage && npm run test-examples", |
| 11 | + "compile": "tsc --p tsconfig.json", |
| 12 | + "build": "npm run clean && npm run compile && npm run bundle", |
| 13 | + "prepare": "npm run build", |
| 14 | + "test": "npm run build && npm run coverage && npm run test-examples", |
17 | 15 | "test-examples": "npm run test:jasmine-basic && npm run test:jasmine-guards && npm run test:jasmine-chat && npm run test:jasmine-terms", |
18 | 16 | "test:jasmine-api": "npm run db:drop && jasmine --config=test/jasmine.api.json", |
19 | 17 | "test:jasmine-basic": "npm run db:drop && jasmine --config=test/jasmine.basic.json", |
|
45 | 43 | "reflect-metadata": "^0.1.13", |
46 | 44 | "request": "^2.88.2", |
47 | 45 | "sinon": "^7.5.0", |
| 46 | + "ts-packager": "^1.0.1", |
48 | 47 | "typeorm": "^0.2.38", |
49 | 48 | "validator": "^12.2.0" |
50 | 49 | }, |
|
0 commit comments