Browse Source

refactor: add npm package version env var

develop
Apostolos Fanakis 4 years ago
parent
commit
ef9ce45f91
  1. 7
      packages/concordia-app/package.json
  2. 718
      yarn.lock

7
packages/concordia-app/package.json

@ -3,9 +3,9 @@
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"scripts": { "scripts": {
"start": "react-scripts start", "start": "cross-env REACT_APP_VERSION=$npm_package_version REACT_APP_NAME=$npm_package_name react-scripts start",
"build": "react-scripts build", "build": "cross-env REACT_APP_VERSION=$npm_package_version REACT_APP_NAME=$npm_package_name react-scripts build",
"test": "react-scripts test", "test": "cross-env REACT_APP_VERSION=$npm_package_version REACT_APP_NAME=$npm_package_name react-scripts test",
"eject": "react-scripts eject", "eject": "react-scripts eject",
"postinstall": "patch-package", "postinstall": "patch-package",
"analyze": "react-scripts build && source-map-explorer 'build/static/js/*.js' --gzip", "analyze": "react-scripts build && source-map-explorer 'build/static/js/*.js' --gzip",
@ -51,6 +51,7 @@
"web3": "1.3.0" "web3": "1.3.0"
}, },
"devDependencies": { "devDependencies": {
"cross-env": "^7.0.3",
"eslint": "^6.8.0", "eslint": "^6.8.0",
"eslint-config-airbnb": "^18.1.0", "eslint-config-airbnb": "^18.1.0",
"eslint-plugin-import": "^2.20.2", "eslint-plugin-import": "^2.20.2",

718
yarn.lock

File diff suppressed because it is too large
Loading…
Cancel
Save