|
15 | 15 | }, |
16 | 16 | "license": "MIT", |
17 | 17 | "bin": { |
18 | | - "ts-node-dev": "./bin/ts-node-dev", |
19 | | - "tsnd": "./bin/ts-node-dev" |
| 18 | + "ts-node-dev": "./lib/bin.js", |
| 19 | + "tsnd": "./lib/bin.js" |
20 | 20 | }, |
21 | 21 | "main": "./lib", |
22 | 22 | "files": [ |
23 | | - "bin", |
24 | 23 | "icons", |
25 | 24 | "lib" |
26 | 25 | ], |
|
33 | 32 | "node": ">=0.8.0" |
34 | 33 | }, |
35 | 34 | "scripts": { |
36 | | - "ts-node-dev": "node ./bin/ts-node-dev", |
| 35 | + "ts-node-dev": "node ./lib/bin", |
37 | 36 | "tsnd": "yarn ts-node-dev", |
38 | | - "test": "ts-node -T test/index.ts", |
39 | | - "test-dev": "ts-node-dev -T --respawn --deps --watch lib test/index.ts --output", |
| 37 | + "test": "ts-node -T node_modules/mocha/bin/mocha test/*.test.ts", |
| 38 | + "test-dev": "yarn ts-node-dev -T --respawn --deps --watch lib node_modules/mocha/bin/mocha test/*.test.ts --output", |
40 | 39 | "test-docker": "docker-compose up", |
41 | 40 | "ci": "yarn test", |
42 | 41 | "ci-local": "docker run --name travis-debug -dit quay.io/travisci/ci-nodejs", |
|
56 | 55 | "tsconfig": "^7.0.0" |
57 | 56 | }, |
58 | 57 | "devDependencies": { |
| 58 | + "@types/chai": "^4.2.12", |
| 59 | + "@types/chokidar": "^2.1.3", |
59 | 60 | "@types/fs-extra": "^9.0.1", |
60 | 61 | "@types/minimist": "^1.2.0", |
61 | | - "@types/node": "^8.0.4", |
| 62 | + "@types/mkdirp": "^1.0.1", |
| 63 | + "@types/mocha": "github:whitecolor/mocha-types", |
| 64 | + "@types/node": "^14.6.0", |
| 65 | + "@types/rimraf": "^3.0.0", |
62 | 66 | "@types/tape": "^4.13.0", |
63 | 67 | "@types/touch": "^3.1.1", |
64 | 68 | "@types/ts-nameof": "^4.2.1", |
| 69 | + "@whitecolor/eslint-config": "file:.yalc/@whitecolor/eslint-config", |
| 70 | + "chai": "^4.2.0", |
65 | 71 | "coffee-script": "^1.8.0", |
66 | | - "eslint": "^2.0.0", |
67 | | - "eslint-config-airbnb-base": "^3.0.1", |
68 | | - "eslint-plugin-import": "^1.8.1", |
| 72 | + "eslint": "^7.7.0", |
69 | 73 | "esm": "^3.2.22", |
70 | 74 | "fs-extra": "^9.0.1", |
| 75 | + "mocha": "^8.1.1", |
71 | 76 | "tap": "^5.2.0", |
72 | 77 | "tape": "^5.0.1", |
73 | 78 | "touch": "^1.0.0", |
|
0 commit comments