84 lines
2 KiB
JSON
84 lines
2 KiB
JSON
|
{
|
||
|
"name": "@rollup/plugin-replace",
|
||
|
"version": "5.0.7",
|
||
|
"publishConfig": {
|
||
|
"access": "public"
|
||
|
},
|
||
|
"description": "Replace strings in files while bundling",
|
||
|
"license": "MIT",
|
||
|
"repository": {
|
||
|
"url": "rollup/plugins",
|
||
|
"directory": "packages/replace"
|
||
|
},
|
||
|
"author": "Rich Harris <richard.a.harris@gmail.com>",
|
||
|
"homepage": "https://github.com/rollup/plugins/tree/master/packages/replace#readme",
|
||
|
"bugs": "https://github.com/rollup/plugins/issues",
|
||
|
"main": "dist/cjs/index.js",
|
||
|
"module": "dist/es/index.js",
|
||
|
"exports": {
|
||
|
"types": "./types/index.d.ts",
|
||
|
"import": "./dist/es/index.js",
|
||
|
"default": "./dist/cjs/index.js"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">=14.0.0"
|
||
|
},
|
||
|
"files": [
|
||
|
"dist",
|
||
|
"!dist/**/*.map",
|
||
|
"src",
|
||
|
"types",
|
||
|
"README.md"
|
||
|
],
|
||
|
"keywords": [
|
||
|
"rollup",
|
||
|
"plugin",
|
||
|
"replace",
|
||
|
"es2015",
|
||
|
"npm",
|
||
|
"modules"
|
||
|
],
|
||
|
"peerDependencies": {
|
||
|
"rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0"
|
||
|
},
|
||
|
"peerDependenciesMeta": {
|
||
|
"rollup": {
|
||
|
"optional": true
|
||
|
}
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"@rollup/pluginutils": "^5.0.1",
|
||
|
"magic-string": "^0.30.3"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@rollup/plugin-buble": "^1.0.0",
|
||
|
"del-cli": "^5.0.0",
|
||
|
"locate-character": "^2.0.5",
|
||
|
"rollup": "^4.0.0-24",
|
||
|
"source-map": "^0.7.4",
|
||
|
"typescript": "^4.8.3"
|
||
|
},
|
||
|
"types": "./types/index.d.ts",
|
||
|
"ava": {
|
||
|
"workerThreads": false,
|
||
|
"files": [
|
||
|
"!**/fixtures/**",
|
||
|
"!**/helpers/**",
|
||
|
"!**/recipes/**",
|
||
|
"!**/types.ts"
|
||
|
]
|
||
|
},
|
||
|
"scripts": {
|
||
|
"build": "rollup -c",
|
||
|
"ci:coverage": "nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov",
|
||
|
"ci:lint": "pnpm build && pnpm lint",
|
||
|
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
|
||
|
"ci:test": "pnpm test -- --verbose && pnpm test:ts",
|
||
|
"prebuild": "del-cli dist",
|
||
|
"prerelease": "pnpm build",
|
||
|
"pretest": "pnpm build",
|
||
|
"release": "pnpm --workspace-root package:release $(pwd)",
|
||
|
"test": "ava",
|
||
|
"test:ts": "tsc types/index.d.ts test/types.ts --noEmit"
|
||
|
}
|
||
|
}
|