UNPKG

2.42 kBJSONView Raw
1{
2 "name": "@rollup/pluginutils",
3 "version": "3.1.0",
4 "publishConfig": {
5 "access": "public"
6 },
7 "description": "A set of utility functions commonly used by Rollup plugins",
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/pluginutils#readme",
12 "bugs": {
13 "url": "https://github.com/rollup/plugins/issues"
14 },
15 "main": "./dist/cjs/index.js",
16 "engines": {
17 "node": ">= 8.0.0"
18 },
19 "scripts": {
20 "build": "rollup -c",
21 "ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov",
22 "ci:lint": "pnpm run build && pnpm run lint",
23 "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
24 "ci:test": "pnpm run test -- --verbose",
25 "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package",
26 "lint:docs": "prettier --single-quote --write README.md",
27 "lint:js": "eslint --fix --cache src test types --ext .js,.ts",
28 "lint:package": "prettier --write package.json --plugin=prettier-plugin-package",
29 "prebuild": "del-cli dist",
30 "prepare": "pnpm run build",
31 "prepublishOnly": "pnpm run lint && pnpm run build",
32 "pretest": "pnpm run build -- --sourcemap",
33 "test": "ava"
34 },
35 "files": [
36 "dist",
37 "types",
38 "README.md",
39 "LICENSE"
40 ],
41 "keywords": [
42 "rollup",
43 "plugin",
44 "utils"
45 ],
46 "peerDependencies": {
47 "rollup": "^1.20.0||^2.0.0"
48 },
49 "dependencies": {
50 "@types/estree": "0.0.39",
51 "estree-walker": "^1.0.1",
52 "picomatch": "^2.2.2"
53 },
54 "devDependencies": {
55 "@rollup/plugin-commonjs": "^11.0.2",
56 "@rollup/plugin-node-resolve": "^7.1.1",
57 "@rollup/plugin-typescript": "^3.0.0",
58 "@types/jest": "^24.9.0",
59 "@types/node": "^12.12.25",
60 "@types/picomatch": "^2.2.1",
61 "typescript": "^3.7.5"
62 },
63 "ava": {
64 "compileEnhancements": false,
65 "extensions": [
66 "ts"
67 ],
68 "require": [
69 "ts-node/register"
70 ],
71 "files": [
72 "!**/fixtures/**",
73 "!**/helpers/**",
74 "!**/recipes/**",
75 "!**/types.ts"
76 ]
77 },
78 "exports": {
79 "require": "./dist/cjs/index.js",
80 "import": "./dist/es/index.js"
81 },
82 "module": "./dist/es/index.js",
83 "nyc": {
84 "extension": [
85 ".js",
86 ".ts"
87 ]
88 },
89 "type": "commonjs",
90 "types": "types/index.d.ts"
91}