|
11 | 11 | "homepage": "https://github.com/rollup/plugins/tree/master/packages/node-resolve/#readme", |
12 | 12 | "bugs": "https://github.com/rollup/plugins/issues", |
13 | 13 | "main": "./dist/cjs/index.js", |
| 14 | + "module": "./dist/es/index.js", |
14 | 15 | "engines": { |
15 | | - "node": ">= 8.0.0" |
| 16 | + "node": ">= 10.0.0" |
16 | 17 | }, |
17 | 18 | "scripts": { |
18 | 19 | "build": "rollup -c", |
|
21 | 22 | "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}", |
22 | 23 | "ci:test": "pnpm run test -- --verbose && pnpm run test:ts", |
23 | 24 | "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package", |
24 | | - "lint:docs": "prettier --single-quote --write README.md", |
| 25 | + "lint:docs": "prettier --single-quote --arrow-parens avoid --write README.md", |
25 | 26 | "lint:js": "eslint --fix --cache src test types --ext .js,.ts", |
26 | 27 | "lint:package": "prettier --write package.json --plugin=prettier-plugin-package", |
27 | 28 | "prebuild": "del-cli dist", |
|
57 | 58 | "resolve": "^1.17.0" |
58 | 59 | }, |
59 | 60 | "devDependencies": { |
60 | | - "@babel/core": "^7.10.4", |
61 | | - "@babel/plugin-transform-typescript": "^7.10.4", |
62 | | - "@babel/preset-env": "^7.10.4", |
63 | | - "@rollup/plugin-babel": "^5.0.4", |
64 | | - "@rollup/plugin-commonjs": "^13.0.0", |
| 61 | + "@babel/core": "^7.10.5", |
| 62 | + "@babel/plugin-transform-typescript": "^7.10.5", |
| 63 | + "@rollup/plugin-babel": "^5.1.0", |
| 64 | + "@rollup/plugin-commonjs": "^14.0.0", |
65 | 65 | "@rollup/plugin-json": "^4.1.0", |
66 | 66 | "es5-ext": "^0.10.53", |
67 | | - "rollup": "^2.12.0", |
| 67 | + "rollup": "^2.23.0", |
68 | 68 | "source-map": "^0.7.3", |
69 | 69 | "string-capitalize": "^1.0.1" |
70 | 70 | }, |
| 71 | + "types": "types/index.d.ts", |
71 | 72 | "ava": { |
| 73 | + "babel": { |
| 74 | + "compileEnhancements": false |
| 75 | + }, |
72 | 76 | "files": [ |
73 | 77 | "!**/fixtures/**", |
74 | 78 | "!**/helpers/**", |
|
80 | 84 | "require": "./dist/cjs/index.js", |
81 | 85 | "import": "./dist/es/index.js" |
82 | 86 | }, |
83 | | - "module": "./dist/es/index.js", |
84 | | - "type": "commonjs", |
85 | | - "types": "types/index.d.ts" |
| 87 | + "type": "commonjs" |
86 | 88 | } |
0 commit comments