|
7 | 7 | "lib/" |
8 | 8 | ], |
9 | 9 | "scripts": { |
10 | | - "build": "cross-env NODE_ENV=production babel src --out-dir lib --source-maps", |
| 10 | + "build": "tsc", |
11 | 11 | "deps": "dep-check", |
12 | 12 | "pkg": "pkg-check", |
13 | | - "start": "concurrently \"ava -c 4 --verbose --watch\" \"yarn run watch\"", |
14 | | - "test": "ava -c 4 --verbose", |
15 | | - "watch": "babel src --out-dir lib --watch --source-maps" |
16 | | - }, |
17 | | - "ava": { |
18 | | - "files": [ |
19 | | - "src/**/*.test.js", |
20 | | - "!lib/**/*" |
21 | | - ], |
22 | | - "source": [ |
23 | | - "src/**/*.js", |
24 | | - "!lib/**/*" |
25 | | - ], |
26 | | - "babel": "inherit", |
27 | | - "require": [ |
28 | | - "babel-register" |
29 | | - ] |
30 | | - }, |
31 | | - "babel": { |
32 | | - "presets": [ |
33 | | - "babel-preset-commitlint" |
34 | | - ] |
| 13 | + "start": "concurrently \"jest --watchAll\" \"tsc -w\"", |
| 14 | + "test": "jest" |
35 | 15 | }, |
36 | 16 | "engines": { |
37 | 17 | "node": ">=4" |
|
57 | 37 | "license": "MIT", |
58 | 38 | "devDependencies": { |
59 | 39 | "@commitlint/parse": "^8.0.0", |
60 | | - "@commitlint/test": "^8.0.0", |
61 | 40 | "@commitlint/utils": "^8.0.0", |
62 | | - "@marionebl/sander": "0.6.1", |
63 | | - "ava": "0.22.0", |
64 | | - "babel-cli": "6.26.0", |
65 | | - "babel-preset-commitlint": "^8.0.0", |
66 | | - "babel-register": "6.26.0", |
| 41 | + "@types/jest": "24.0.13", |
| 42 | + "@types/lodash": "^4.14.130", |
| 43 | + "@types/resolve-from": "^5.0.1", |
67 | 44 | "concurrently": "3.5.1", |
68 | | - "cross-env": "5.1.1", |
69 | | - "execa": "0.9.0" |
| 45 | + "jest": "24.8.0", |
| 46 | + "ts-jest": "24.0.2", |
| 47 | + "typescript": "3.4.5" |
70 | 48 | }, |
71 | 49 | "dependencies": { |
72 | | - "babel-runtime": "6.26.0", |
| 50 | + "@types/node": "^12.0.2", |
73 | 51 | "import-fresh": "^3.0.0", |
74 | 52 | "lodash": "4.17.11", |
75 | 53 | "resolve-from": "^5.0.0", |
|
0 commit comments