|
12 | 12 | "bin": { |
13 | 13 | "api-client-generator": "./dist/main.js" |
14 | 14 | }, |
15 | | - "files": [ |
16 | | - "dist/generator.js", |
17 | | - "dist/generator.js.map", |
18 | | - "dist/main.js", |
19 | | - "dist/main.js.map", |
20 | | - "LICENSE", |
21 | | - "README.md", |
22 | | - "templates/ngx-model.mustache", |
23 | | - "templates/ngx-models-export.mustache", |
24 | | - "templates/ngx-module-export.mustache", |
25 | | - "templates/ngx-service.mustache" |
26 | | - ], |
27 | 15 | "bugs": { |
28 | 16 | "url": "https://github.com/flowup/api-client-generator/issues" |
29 | 17 | }, |
|
58 | 46 | "scripts": { |
59 | 47 | "generate": "node ./dist/main.js", |
60 | 48 | "build": "rimraf dist && tsc", |
61 | | - "lint": "tslint -p tsconfig.json -c tslint.json 'src/**/*.ts' 'tests/tests.ts'", |
| 49 | + "lint": "tslint -p tsconfig.json -c tslint.json 'src/**/*.ts' 'src/tests.ts'", |
62 | 50 | "gen": "ts-node ./src/main.ts", |
63 | 51 | "gen-sports": "rimraf ./tests/sports/api && ts-node ./src/main.ts -s ./tests/sports/swagger.yaml -o ./tests/sports/api", |
64 | 52 | "gen-esquare": "rimraf ./tests/esquare/api && ts-node ./src/main.ts -s ./tests/esquare/swagger.yaml -o ./tests/esquare/api", |
65 | 53 | "gen-gcloud-firestore": "rimraf ./tests/gcloud-firestore/api && ts-node ./src/main.ts -s ./tests/gcloud-firestore/swagger.yaml -o ./tests/gcloud-firestore/api", |
66 | 54 | "gen-github": "rimraf ./tests/github/api && ts-node ./src/main.ts -s ./tests/github/swagger.yaml -o ./tests/github/api", |
67 | 55 | "release": "npm run build && standard-version --tag-prefix=''", |
68 | | - "test": "ts-node ./tests/tests.ts" |
| 56 | + "test": "ts-node ./src/tests.ts" |
69 | 57 | }, |
70 | 58 | "dependencies": { |
71 | 59 | "fs-extra": "^5.0.0", |
|
0 commit comments