rollup-plugin-inject-process-env
Version:
Inject environment variables in process.env with Rollup
74 lines (73 loc) • 2.66 kB
JSON
{
"name": "rollup-plugin-inject-process-env",
"version": "1.3.1",
"description": "Inject environment variables in process.env with Rollup",
"main": "dist/rollup-plugin-inject-process-env.cjs.js",
"module": "dist/rollup-plugin-inject-process-env.es.js",
"typings": "dist/index.d.ts",
"files": [
"dist/",
"README.md"
],
"scripts": {
"compile": "tsc",
"postcompile": "rollup -c",
"pretest": "cd test/myApp && tsc && rollup -c && rollup -c rollup.config.2.js && rollup -c rollup.config.3.js && cd ../..",
"test": "jest test --runInBand",
"site:prepare:sloc": "sloc --format json src/ > scripts/sloc-report.json",
"site:prepare:sloc:tests": "sloc --format json test/ > scripts/sloc-tests-report.json",
"site:prepare:tslint": "tslint --force -t json -o scripts/tslint-report.json -c tslint.json 'src/**/*.ts'",
"site:prepare:jest": "npm run pretest && jest test --runInBand --noStackTrace --silent --json --outputFile='scripts/jest-report.json'",
"presite": "npm run site:prepare:sloc && npm run site:prepare:sloc:tests && npm run site:prepare:tslint && npm run site:prepare:jest",
"site": "ts-node --project scripts/tsconfig.json scripts/site.ts",
"site:only": "ts-node --project scripts/tsconfig.json scripts/site.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/badcafe/rollup-plugin-inject-process-env.git"
},
"author": "Philippe Poulard <philippe.poulard@inria.fr>",
"license": "MIT",
"bugs": {
"url": "https://github.com/badcafe/rollup-plugin-inject-process-env/issues"
},
"homepage": "https://github.com/badcafe/rollup-plugin-inject-process-env#readme",
"keywords": [
"rollup",
"plugin",
"rollup-plugin",
"process",
"env",
"process.env",
"environment variables",
"inject",
"browser"
],
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/preset-env": "^7.12.1",
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-inject": "^4.0.2",
"@rollup/plugin-node-resolve": "^7.1.3",
"@rollup/pluginutils": "^3.1.0",
"@types/jest": "^24.9.1",
"@types/jest-environment-puppeteer": "^4.4.0",
"@types/node": "^12.19.3",
"@types/puppeteer": "^2.1.5",
"jest": "^24.9.0",
"jest-puppeteer": "^4.4.0",
"puppeteer": "^2.1.1",
"rollup": "^1.32.1",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-postcss": "^3.1.8",
"rollup-plugin-typescript2": "^0.25.3",
"sloc": "^0.2.1",
"ts-jest": "^24.3.0",
"ts-node": "^8.10.2",
"tslint": "^5.20.1",
"typescript": "^3.9.7"
},
"dependencies": {
"magic-string": "^0.25.7"
}
}