UNPKG

2.59 kBJSONView Raw
1{
2 "name": "@rollup/plugin-node-resolve",
3 "version": "9.0.0",
4 "publishConfig": {
5 "access": "public"
6 },
7 "description": "Locate and bundle third-party dependencies in node_modules",
8 "license": "MIT",
9 "repository": "rollup/plugins",
10 "author": "Rich Harris <richard.a.harris@gmail.com>",
11 "homepage": "https://github.com/rollup/plugins/tree/master/packages/node-resolve/#readme",
12 "bugs": "https://github.com/rollup/plugins/issues",
13 "main": "./dist/cjs/index.js",
14 "module": "./dist/es/index.js",
15 "engines": {
16 "node": ">= 10.0.0"
17 },
18 "scripts": {
19 "build": "rollup -c",
20 "ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov",
21 "ci:lint": "pnpm run build && pnpm run lint",
22 "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
23 "ci:test": "pnpm run test -- --verbose && pnpm run test:ts",
24 "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package",
25 "lint:docs": "prettier --single-quote --arrow-parens avoid --trailing-comma none --write README.md",
26 "lint:js": "eslint --fix --cache src test types --ext .js,.ts",
27 "lint:package": "prettier --write package.json --plugin=prettier-plugin-package",
28 "prebuild": "del-cli dist",
29 "prepare": "pnpm run build",
30 "prepublishOnly": "pnpm run lint && pnpm run test && pnpm run test:ts",
31 "pretest": "pnpm run build",
32 "test": "ava",
33 "test:ts": "tsc types/index.d.ts test/types.ts --noEmit"
34 },
35 "files": [
36 "dist",
37 "types",
38 "README.md",
39 "LICENSE"
40 ],
41 "keywords": [
42 "rollup",
43 "plugin",
44 "es2015",
45 "npm",
46 "modules"
47 ],
48 "peerDependencies": {
49 "rollup": "^1.20.0||^2.0.0"
50 },
51 "dependencies": {
52 "@rollup/pluginutils": "^3.1.0",
53 "@types/resolve": "1.17.1",
54 "builtin-modules": "^3.1.0",
55 "deepmerge": "^4.2.2",
56 "is-module": "^1.0.0",
57 "resolve": "^1.17.0"
58 },
59 "devDependencies": {
60 "@babel/core": "^7.10.5",
61 "@babel/plugin-transform-typescript": "^7.10.5",
62 "@rollup/plugin-babel": "^5.1.0",
63 "@rollup/plugin-commonjs": "^14.0.0",
64 "@rollup/plugin-json": "^4.1.0",
65 "es5-ext": "^0.10.53",
66 "rollup": "^2.23.0",
67 "source-map": "^0.7.3",
68 "string-capitalize": "^1.0.1"
69 },
70 "types": "types/index.d.ts",
71 "ava": {
72 "babel": {
73 "compileEnhancements": false
74 },
75 "files": [
76 "!**/fixtures/**",
77 "!**/helpers/**",
78 "!**/recipes/**",
79 "!**/types.ts"
80 ]
81 },
82 "exports": {
83 "require": "./dist/cjs/index.js",
84 "import": "./dist/es/index.js"
85 },
86 "type": "commonjs"
87}