Skip to content

Commit

Permalink
fix parcel
Browse files Browse the repository at this point in the history
  • Loading branch information
CedricProfessionnel committed Mar 26, 2021
1 parent c1a01ac commit fbcd76f
Show file tree
Hide file tree
Showing 8 changed files with 1,096 additions and 452 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,4 @@ cypress/screenshots
.idea
*.db
.vercel
.parcel-cache
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ cypress/snapshots/*
cypress/videos/*
cypress/screenshots/*
yarn.lock
.parcel-cache
2 changes: 2 additions & 0 deletions desktop/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions desktop/main.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

72 changes: 2 additions & 70 deletions desktop/main.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions desktop/main.js.map

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "desktop/main.js",
"homepage": "https://universaldatatool.com/app/",
"proxy": "http://localhost:3000",
"default":"vanilla.js",
"scripts": {
"start": "cross-env PORT=6001 react-scripts start",
"start:desktop": "cross-env BROWSER=none USE_DEV_SERVER=yes concurrently 'start' 'electron ./desktop'",
Expand All @@ -14,7 +15,7 @@
"build:all": "npm run build:babel && npm run build:vanilla && npm run build:desktop",
"build:lib": "npm run build:babel && npm run build:vanilla",
"build:babel": "cross-env NODE_ENV=production babel ./src --out-dir=./lib --copy-files && cp ./package.json ./lib/package.json && cp ./README.md ./lib/README.md && node ./lib/lib/fix-deps.js",
"build:vanilla": "parcel build -d ./lib -o vanilla.js ./src/vanilla/index.js",
"build:vanilla": "parcel build ./src/vanilla/index.js --dist-dir ./lib",
"build:vanilla:dev": "parcel ./src/vanilla/index.js",
"build:web": "rimraf build && react-scripts build && cp -r build ./build-copy && mv build-copy build/app",
"build:desktop": "cross-env REACT_APP_DESKTOP=true PUBLIC_URL=./ react-scripts build && electron-builder build && cp ./desktop/entitlements.mac.plist ./build/entitlements.mac.plist",
Expand Down Expand Up @@ -71,7 +72,6 @@
"electron-builder-notarize": "^1.2.0",
"eslint-plugin-cypress": "^2.11.2",
"gh-pages": "^2.1.1",
"parcel": "^1.12.4",
"prettier": "^2.2.1",
"react": "^16.8.6",
"react-dom": "^16.8.6",
Expand Down Expand Up @@ -106,6 +106,7 @@
"mime-types": "^2.1.28",
"moment": "^2.24.0",
"nan": "^2.14.1",
"parcel": "^2.0.0-beta.2",
"qs": "^6.9.4",
"react-ace": "^7.0.4",
"react-data-table-component": "^6.2.2",
Expand Down
1,465 changes: 1,085 additions & 380 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit fbcd76f

Please sign in to comment.