UNPKG

2.59 kBJSONView Raw
1{
2 "name": "@rollup/plugin-node-resolve",
3 "version": "11.1.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 "type": "commonjs",
16 "exports": {
17 "require": "./dist/cjs/index.js",
18 "import": "./dist/es/index.js"
19 },
20 "engines": {
21 "node": ">= 10.0.0"
22 },
23 "scripts": {
24 "build": "rollup -c",
25 "ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov",
26 "ci:lint": "pnpm run build && pnpm run lint",
27 "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
28 "ci:test": "pnpm run test -- --verbose && pnpm run test:ts",
29 "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package",
30 "lint:docs": "prettier --single-quote --arrow-parens avoid --trailing-comma none --write README.md",
31 "lint:js": "eslint --fix --cache src test types --ext .js,.ts",
32 "lint:package": "prettier --write package.json --plugin=prettier-plugin-package",
33 "prebuild": "del-cli dist",
34 "prepare": "pnpm run build",
35 "prepublishOnly": "pnpm run lint && pnpm run test && pnpm run test:ts",
36 "pretest": "pnpm run build",
37 "test": "ava",
38 "test:ts": "tsc types/index.d.ts test/types.ts --noEmit"
39 },
40 "files": [
41 "dist",
42 "types",
43 "README.md",
44 "LICENSE"
45 ],
46 "keywords": [
47 "rollup",
48 "plugin",
49 "es2015",
50 "npm",
51 "modules"
52 ],
53 "peerDependencies": {
54 "rollup": "^1.20.0||^2.0.0"
55 },
56 "dependencies": {
57 "@rollup/pluginutils": "^3.1.0",
58 "@types/resolve": "1.17.1",
59 "builtin-modules": "^3.1.0",
60 "deepmerge": "^4.2.2",
61 "is-module": "^1.0.0",
62 "resolve": "^1.19.0"
63 },
64 "devDependencies": {
65 "@babel/core": "^7.10.5",
66 "@babel/plugin-transform-typescript": "^7.10.5",
67 "@rollup/plugin-babel": "^5.1.0",
68 "@rollup/plugin-commonjs": "^16.0.0",
69 "@rollup/plugin-json": "^4.1.0",
70 "es5-ext": "^0.10.53",
71 "rollup": "^2.23.0",
72 "source-map": "^0.7.3",
73 "string-capitalize": "^1.0.1"
74 },
75 "types": "types/index.d.ts",
76 "ava": {
77 "babel": {
78 "compileEnhancements": false
79 },
80 "files": [
81 "!**/fixtures/**",
82 "!**/helpers/**",
83 "!**/recipes/**",
84 "!**/types.ts"
85 ]
86 }
87}