rollup-plugin-inject-process-env

v1.1.0
Inject environment variables in process.env with Rollup
rollup plugin rollup-plugin process env process.env environment variables inject browser and 1 more...

compile

tsc

postcompile

rollup -c

pretest

cd test/myApp && tsc && rollup -c && 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

Metadata

  • MIT
  • Whatever
  • Philippe Poulard
  • released 11/27/2019

Downloads

Maintainers