Fakultas Ilmu Komputer UI

Commit 1c97e1a1 authored by Azhar Difa Arnanda's avatar Azhar Difa Arnanda
Browse files

Add .env_var and update package.json

parent 0905cd5c
......@@ -6,7 +6,7 @@
.pnp.js
/.cache
/dist
.env
.env_var
# testing
/coverage
......@@ -27,4 +27,4 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*
/.vscode
.parcel-cache
\ No newline at end of file
.parcel-cache
This diff is collapsed.
......@@ -6,7 +6,7 @@
"@emotion/babel-preset-css-prop": "^10.0.27",
"@emotion/core": "^10.0.28",
"@emotion/styled": "^10.0.27",
"@material-ui/core": "^4.9.11",
"@material-ui/core": "^4.9.11",
"@material-ui/icons": "^4.9.1",
"@reach/router": "^1.3.3",
"@types/react": "^16.14.2",
......@@ -27,8 +27,8 @@
"react-promise-tracker": "^2.1.0"
},
"scripts": {
"start": "cross-env REACT_APP_BASE_URL=https://industripilar-staging.herokuapp.com parcel public/index.html",
"build": "cross-env REACT_APP_BASE_URL=https://industripilar-staging.herokuapp.com parcel build public/index.html",
"start": "cross-env REACT_APP_BASE_URL=$(grep REACT_APP_BASE_URL .env_var | cut -d '=' -f2) parcel public/index.html",
"build": "cross-env REACT_APP_BASE_URL=$(grep REACT_APP_BASE_URL .env_var | cut -d '=' -f2) parcel build public/index.html",
"test": "jest",
"test:coverage": "jest --coverage",
"lint": "eslint \"src/**/*.{js,jsx}\" --quiet",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment