@import-meta-env/unplugin
Version:
Build once, deploy anywhere. Startup/runtime environment variable solution for JavaScript.
68 lines (67 loc) • 2.13 kB
JSON
{
"name": "@import-meta-env/unplugin",
"version": "0.6.2",
"description": "Build once, deploy anywhere. Startup/runtime environment variable solution for JavaScript.",
"license": "MIT",
"author": "Ernest",
"keywords": [
"unplugin",
"rollup-plugin",
"vite-plugin",
"webpack-plugin",
"twelve-factor",
"dotenv"
],
"files": [
"dist"
],
"main": "dist/index.js",
"types": "dist/unplugin/src/index.d.ts",
"scripts": {
"build": "rimraf dist bin && pnpm build-types && pnpm build-bundle",
"build-bundle": "esbuild src/index.ts --bundle --platform=node --target=node14 --external:unplugin --external:webpack --outfile=dist/index.js && pnpm run patch-dist",
"build-types": "tsc -p . --emitDeclarationOnly --outDir dist",
"pack": "rm -f *.tgz && pnpm pack && node ../../scripts/rename-tgz.js",
"patch-dist": "ts-node ./scripts/patchEsbuildDist.ts",
"postinstall": "node -e \"try{require('./scripts/postinstall')}catch(e){}\"",
"release": "standard-version --skip.tag -t unplugin --preset=conventionalcommits --releaseCommitMessageFormat 'chore(release): @import-meta-env/unplugin@{{currentTag}}' --path .",
"test": "jest"
},
"engines": {
"node": ">= 14"
},
"repository": {
"type": "git",
"url": "git+https://github.com/runtime-env/import-meta-env.git",
"directory": "packages/unplugin"
},
"bugs": {
"url": "https://github.com/runtime-env/import-meta-env/issues"
},
"homepage": "https://github.com/runtime-env/import-meta-env/tree/main/packages/unplugin#readme",
"devDependencies": {
"@farmfe/core": "1.6.0",
"@types/node": "22.10.2",
"@types/object-hash": "3.0.6",
"rollup": "4.29.1",
"ts-node": "10.9.2",
"typescript": "5.7.2",
"vite": "6.0.5",
"webpack": "5.97.1"
},
"peerDependencies": {
"@import-meta-env/cli": "^0.7.0"
},
"peerDependenciesMeta": {
"@import-meta-env/cli": {
"optional": true
}
},
"dependencies": {
"dotenv": "^16.0.0",
"magic-string": "^0.30.0",
"object-hash": "^3.0.0",
"picocolors": "^1.0.0",
"unplugin": "^2.0.0"
}
}