|
2 | 2 | "name": "@nativescript/doctor", |
3 | 3 | "version": "2.0.17", |
4 | 4 | "description": "Library that helps identifying if the environment can be used for development of {N} apps.", |
5 | | - "main": "src/index.js", |
| 5 | + "main": "dist/index.js", |
6 | 6 | "types": "./typings/nativescript-doctor.d.ts", |
7 | 7 | "files": [ |
8 | | - "src/**/*.js", |
| 8 | + "dist/**/*.js", |
| 9 | + "dist/**/*.d.ts", |
9 | 10 | "resources", |
10 | 11 | "typings", |
11 | 12 | "CHANGELOG.md", |
12 | 13 | "NOTICE.txt" |
13 | 14 | ], |
14 | 15 | "scripts": { |
15 | | - "clean": "npx rimraf node_modules package-lock.json && npm i && grunt clean", |
16 | | - "build": "grunt", |
17 | | - "build.all": "grunt ts:devall", |
18 | | - "prepack": "grunt pack", |
19 | | - "test": "istanbul cover ./node_modules/mocha/bin/_mocha -- --recursive", |
| 16 | + "clean": "npx rimraf node_modules package-lock.json && npm i && npm run clean.build", |
| 17 | + "clean.build": "node scripts/clean.js", |
| 18 | + "build": "tsc", |
| 19 | + "build.all": "tsc -p tsconfig.test.json && node scripts/copy-test-fixtures.js", |
| 20 | + "dev": "tsc --watch", |
| 21 | + "prepack": "npm run clean.build && npm test && tsc -p tsconfig.release.json", |
| 22 | + "test": "npm run build.all && mocha --recursive dist-test/test", |
20 | 23 | "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s" |
21 | 24 | }, |
22 | 25 | "repository": { |
|
51 | 54 | "@types/yauzl": "2.10.3", |
52 | 55 | "chai": "5.3.3", |
53 | 56 | "conventional-changelog-cli": "^5.0.0", |
54 | | - "grunt": "1.6.1", |
55 | | - "grunt-contrib-clean": "2.0.1", |
56 | | - "grunt-contrib-watch": "1.1.0", |
57 | | - "grunt-shell": "4.0.0", |
58 | | - "grunt-ts": "6.0.0-beta.22", |
59 | | - "grunt-tslint": "5.0.2", |
60 | | - "istanbul": "0.4.5", |
61 | 57 | "mocha": "11.7.5", |
62 | 58 | "rimraf": "6.1.2", |
63 | | - "tslint": "6.1.3", |
64 | | - "tslint-microsoft-contrib": "6.2.0", |
65 | 59 | "typescript": "~5.9.2" |
66 | 60 | }, |
67 | 61 | "dependencies": { |
|
0 commit comments