From cd60f9838c00e05bee6d35c63278c9d809c92be5 Mon Sep 17 00:00:00 2001 From: Austin Turner Date: Sat, 13 Oct 2018 18:59:43 -0600 Subject: [PATCH] added .env --- .gitignore | 1 + .npmignore | 3 ++- package-lock.json | 8 +++++++- package.json | 1 + rollup.config.js | 4 +++- 5 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index d5218d9..dc36491 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ build/tests .rpt2_cache dist/ +.env # Created by https://www.gitignore.io/api/node diff --git a/.npmignore b/.npmignore index 83f3d92..af44deb 100644 --- a/.npmignore +++ b/.npmignore @@ -11,4 +11,5 @@ ISSUE_TEMPLATE CONTRIBUTING.md CHANGELOG.md debug/ -.rpt2_cache \ No newline at end of file +.rpt2_cache +.env \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index c6c0625..8bf5a99 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "soql-parser-js", - "version": "0.1.6", + "version": "0.1.8", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -2276,6 +2276,12 @@ "is-obj": "^1.0.0" } }, + "dotenv": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-6.1.0.tgz", + "integrity": "sha512-/veDn2ztgRlB7gKmE3i9f6CmDIyXAy6d5nBq+whO9SLX+Zs1sXEgFLPi+aSuWqUuusMfbi84fT8j34fs1HaYUw==", + "dev": true + }, "duplexer3": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz", diff --git a/package.json b/package.json index 258e253..9dd0093 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "@types/node": "8.0.14", "antlr4ts-cli": "0.4.0-alpha.4", "chai": "^4.1.2", + "dotenv": "^6.1.0", "mocha": "^5.2.0", "release-it": "^7.6.1", "rollup": "^0.66.6", diff --git a/rollup.config.js b/rollup.config.js index c5463cb..ce0fa9e 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,6 +1,8 @@ import typescript from 'rollup-plugin-typescript2'; -import minify from 'rollup-plugin-babel-minify'; +// import minify from 'rollup-plugin-babel-minify'; import pkg from './package.json'; +import dotenv from 'dotenv'; +dotenv.config(); export default [ {