|
9 | 9 | "index.d.ts",
|
10 | 10 | "README.md"
|
11 | 11 | ],
|
| 12 | + "engines": { |
| 13 | + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" |
| 14 | + }, |
12 | 15 | "scripts": {
|
13 |
| - "build": "babel src -d dist --ignore *.test.js", |
| 16 | + "build": "babel src -d dist --ignore \"**/*.test.js\"", |
14 | 17 | "prepublish": "yarn build",
|
| 18 | + "lint": "eslint src", |
15 | 19 | "test": "jest",
|
16 |
| - "test:coverage": "yarn test -- --coverage", |
17 |
| - "test:report": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls", |
18 |
| - "test:watch": "yarn test -- --watch", |
19 |
| - "posttest": "eslint src/" |
| 20 | + "test:coverage": "yarn test --coverage", |
| 21 | + "test:watch": "yarn test -- --watch" |
20 | 22 | },
|
21 | 23 | "author": "Matt Phillips",
|
22 | 24 | "license": "MIT",
|
23 | 25 | "devDependencies": {
|
24 |
| - "babel-cli": "^6.18.0", |
25 |
| - "babel-core": "^6.18.2", |
26 |
| - "babel-jest": "^22.0.0", |
27 |
| - "babel-jest-assertions": "^0.1.0", |
28 |
| - "babel-plugin-add-module-exports": "^0.2.1", |
29 |
| - "babel-plugin-gwt": "^1.0.0", |
30 |
| - "babel-plugin-transform-es2015-modules-umd": "^6.23.0", |
31 |
| - "babel-preset-es2015": "^6.18.0", |
32 |
| - "babel-preset-stage-0": "^6.16.0", |
33 |
| - "coveralls": "^3.0.0", |
34 |
| - "eslint": "^7.10.0", |
35 |
| - "jest": "^23.6.0" |
| 26 | + "@babel/cli": "^7.16.8", |
| 27 | + "@babel/core": "^7.16.12", |
| 28 | + "@babel/preset-env": "^7.16.11", |
| 29 | + "babel-jest": "^27.4.6", |
| 30 | + "eslint": "^8.7.0", |
| 31 | + "jest": "^27.4.7" |
36 | 32 | },
|
37 | 33 | "babel": {
|
38 | 34 | "presets": [
|
39 |
| - "es2015", |
40 |
| - "stage-0" |
41 |
| - ], |
42 |
| - "plugins": [ |
43 |
| - "add-module-exports", |
44 |
| - "transform-es2015-modules-umd", |
45 |
| - "babel-jest-assertions", |
46 |
| - "gwt" |
| 35 | + [ |
| 36 | + "@babel/preset-env", |
| 37 | + { |
| 38 | + "targets": { |
| 39 | + "node": "12" |
| 40 | + } |
| 41 | + } |
| 42 | + ] |
47 | 43 | ]
|
48 | 44 | },
|
49 | 45 | "repository": {
|
|
0 commit comments