| 1 | {
|
|---|
| 2 | "name": "rollup",
|
|---|
| 3 | "version": "2.80.0",
|
|---|
| 4 | "description": "Next-generation ES module bundler",
|
|---|
| 5 | "main": "dist/rollup.js",
|
|---|
| 6 | "module": "dist/es/rollup.js",
|
|---|
| 7 | "typings": "dist/rollup.d.ts",
|
|---|
| 8 | "bin": {
|
|---|
| 9 | "rollup": "dist/bin/rollup"
|
|---|
| 10 | },
|
|---|
| 11 | "scripts": {
|
|---|
| 12 | "build": "shx rm -rf dist && node scripts/update-git-commit.js && rollup --config rollup.config.ts --configPlugin typescript && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x dist/bin/rollup",
|
|---|
| 13 | "build:cjs": "shx rm -rf dist && rollup --config rollup.config.ts --configPlugin typescript --configTest && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x dist/bin/rollup",
|
|---|
| 14 | "build:bootstrap": "node dist/bin/rollup --config rollup.config.ts --configPlugin typescript && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x dist/bin/rollup && cp -r dist browser/",
|
|---|
| 15 | "ci:lint": "npm run lint:nofix",
|
|---|
| 16 | "ci:test": "npm run build:cjs && npm run build:bootstrap && npm run test:all",
|
|---|
| 17 | "ci:test:only": "npm run build:cjs && npm run build:bootstrap && npm run test:only",
|
|---|
| 18 | "ci:coverage": "npm run build:cjs && npm run build:bootstrap && nyc --reporter lcovonly mocha",
|
|---|
| 19 | "lint": "eslint . --fix --cache && prettier --write \"**/*.md\"",
|
|---|
| 20 | "lint:nofix": "eslint . --cache && prettier --check \"**/*.md\"",
|
|---|
| 21 | "lint:markdown": "prettier --write \"**/*.md\"",
|
|---|
| 22 | "perf": "npm run build:cjs && node --expose-gc scripts/perf.js",
|
|---|
| 23 | "perf:debug": "node --inspect-brk scripts/perf-debug.js",
|
|---|
| 24 | "perf:init": "node scripts/perf-init.js",
|
|---|
| 25 | "postpublish": "git push && git push --tags",
|
|---|
| 26 | "prepare": "husky install && npm run build",
|
|---|
| 27 | "security": "npm audit",
|
|---|
| 28 | "test": "npm run build && npm run test:all",
|
|---|
| 29 | "test:cjs": "npm run build:cjs && npm run test:only",
|
|---|
| 30 | "test:quick": "mocha -b test/test.js",
|
|---|
| 31 | "test:all": "npm run test:only && npm run test:browser && npm run test:typescript && npm run test:leak && npm run test:package",
|
|---|
| 32 | "test:coverage": "npm run build:cjs && shx rm -rf coverage/* && nyc --reporter html mocha test/test.js",
|
|---|
| 33 | "test:coverage:browser": "npm run build && shx rm -rf coverage/* && nyc mocha test/browser/index.js",
|
|---|
| 34 | "test:leak": "node --expose-gc test/leak/index.js",
|
|---|
| 35 | "test:package": "node scripts/test-package.js",
|
|---|
| 36 | "test:only": "mocha test/test.js",
|
|---|
| 37 | "test:typescript": "shx rm -rf test/typescript/dist && shx cp -r dist test/typescript/ && tsc --noEmit -p test/typescript && tsc --noEmit",
|
|---|
| 38 | "test:browser": "mocha test/browser/index.js",
|
|---|
| 39 | "watch": "rollup --config rollup.config.ts --configPlugin typescript --watch"
|
|---|
| 40 | },
|
|---|
| 41 | "repository": "rollup/rollup",
|
|---|
| 42 | "keywords": [
|
|---|
| 43 | "modules",
|
|---|
| 44 | "bundler",
|
|---|
| 45 | "bundling",
|
|---|
| 46 | "es6",
|
|---|
| 47 | "optimizer"
|
|---|
| 48 | ],
|
|---|
| 49 | "author": "Rich Harris",
|
|---|
| 50 | "license": "MIT",
|
|---|
| 51 | "bugs": {
|
|---|
| 52 | "url": "https://github.com/rollup/rollup/issues"
|
|---|
| 53 | },
|
|---|
| 54 | "homepage": "https://rollupjs.org/",
|
|---|
| 55 | "optionalDependencies": {
|
|---|
| 56 | "fsevents": "~2.3.2"
|
|---|
| 57 | },
|
|---|
| 58 | "devDependencies": {
|
|---|
| 59 | "@rollup/plugin-alias": "^3.1.9",
|
|---|
| 60 | "@rollup/plugin-buble": "^0.21.3",
|
|---|
| 61 | "@rollup/plugin-commonjs": "^22.0.1",
|
|---|
| 62 | "@rollup/plugin-json": "^4.1.0",
|
|---|
| 63 | "@rollup/plugin-node-resolve": "^13.3.0",
|
|---|
| 64 | "@rollup/plugin-replace": "^4.0.0",
|
|---|
| 65 | "@rollup/plugin-typescript": "^8.3.3",
|
|---|
| 66 | "@rollup/pluginutils": "^4.2.1",
|
|---|
| 67 | "@types/estree": "0.0.52",
|
|---|
| 68 | "@types/node": "^10.17.60",
|
|---|
| 69 | "@types/signal-exit": "^3.0.1",
|
|---|
| 70 | "@types/yargs-parser": "^20.2.2",
|
|---|
| 71 | "@typescript-eslint/eslint-plugin": "^5.30.7",
|
|---|
| 72 | "@typescript-eslint/parser": "^5.30.7",
|
|---|
| 73 | "acorn": "^8.7.1",
|
|---|
| 74 | "acorn-jsx": "^5.3.2",
|
|---|
| 75 | "acorn-walk": "^8.2.0",
|
|---|
| 76 | "buble": "^0.20.0",
|
|---|
| 77 | "chokidar": "^3.5.3",
|
|---|
| 78 | "colorette": "^2.0.19",
|
|---|
| 79 | "core-js": "^3.23.5",
|
|---|
| 80 | "date-time": "^4.0.0",
|
|---|
| 81 | "es5-shim": "^4.6.7",
|
|---|
| 82 | "es6-shim": "^0.35.6",
|
|---|
| 83 | "eslint": "^8.20.0",
|
|---|
| 84 | "eslint-config-prettier": "^8.5.0",
|
|---|
| 85 | "eslint-plugin-import": "^2.26.0",
|
|---|
| 86 | "eslint-plugin-prettier": "^4.2.1",
|
|---|
| 87 | "execa": "^5.1.1",
|
|---|
| 88 | "fixturify": "^2.1.1",
|
|---|
| 89 | "fs-extra": "^10.1.0",
|
|---|
| 90 | "hash.js": "^1.1.7",
|
|---|
| 91 | "husky": "^7.0.4",
|
|---|
| 92 | "is-reference": "^3.0.0",
|
|---|
| 93 | "lint-staged": "^10.5.4",
|
|---|
| 94 | "locate-character": "^2.0.5",
|
|---|
| 95 | "magic-string": "^0.26.2",
|
|---|
| 96 | "mocha": "^9.2.2",
|
|---|
| 97 | "nyc": "^15.1.0",
|
|---|
| 98 | "prettier": "^2.7.1",
|
|---|
| 99 | "pretty-bytes": "^5.6.0",
|
|---|
| 100 | "pretty-ms": "^7.0.1",
|
|---|
| 101 | "requirejs": "^2.3.6",
|
|---|
| 102 | "rollup": "^2.77.0",
|
|---|
| 103 | "rollup-plugin-license": "^2.8.1",
|
|---|
| 104 | "rollup-plugin-string": "^3.0.0",
|
|---|
| 105 | "rollup-plugin-terser": "^7.0.2",
|
|---|
| 106 | "rollup-plugin-thatworks": "^1.0.4",
|
|---|
| 107 | "shx": "^0.3.4",
|
|---|
| 108 | "signal-exit": "^3.0.7",
|
|---|
| 109 | "source-map": "^0.7.4",
|
|---|
| 110 | "source-map-support": "^0.5.21",
|
|---|
| 111 | "sourcemap-codec": "^1.4.8",
|
|---|
| 112 | "systemjs": "^6.12.1",
|
|---|
| 113 | "terser": "^5.14.2",
|
|---|
| 114 | "tslib": "^2.4.0",
|
|---|
| 115 | "typescript": "^4.7.4",
|
|---|
| 116 | "weak-napi": "^2.0.2",
|
|---|
| 117 | "yargs-parser": "^20.2.9"
|
|---|
| 118 | },
|
|---|
| 119 | "files": [
|
|---|
| 120 | "dist/**/*.js",
|
|---|
| 121 | "dist/*.d.ts",
|
|---|
| 122 | "dist/bin/rollup",
|
|---|
| 123 | "dist/es/package.json",
|
|---|
| 124 | "dist/rollup.browser.js.map"
|
|---|
| 125 | ],
|
|---|
| 126 | "engines": {
|
|---|
| 127 | "node": ">=10.0.0"
|
|---|
| 128 | },
|
|---|
| 129 | "exports": {
|
|---|
| 130 | ".": {
|
|---|
| 131 | "types": "./dist/rollup.d.ts",
|
|---|
| 132 | "node": {
|
|---|
| 133 | "require": "./dist/rollup.js",
|
|---|
| 134 | "import": "./dist/es/rollup.js"
|
|---|
| 135 | },
|
|---|
| 136 | "default": "./dist/es/rollup.browser.js"
|
|---|
| 137 | },
|
|---|
| 138 | "./loadConfigFile": "./dist/loadConfigFile.js",
|
|---|
| 139 | "./dist/loadConfigFile": "./dist/loadConfigFile.js",
|
|---|
| 140 | "./dist/*": "./dist/*"
|
|---|
| 141 | }
|
|---|
| 142 | }
|
|---|