Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Commit

Permalink
Added prepare for off-line scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
dc-andysign committed Apr 24, 2024
1 parent 3508e72 commit 0cc1259
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"lint": "eslint --ext .js,.mjs .",
"lint:fix": "eslint --ext .js ./src --fix",
"init": "./scripts/initialise_demo.mjs",
"prepare:react": "cp $(npm root)/react/umd/react.production.min.js $(npm root)/../public/",
"prepare:react-dom": "cp $(npm root)/react-dom/umd/react-dom.production.min.js $(npm root)/../public/",
"prepare": "npm run prepare:react && npm run prepare:react-dom",
"dev": "webpack-dev-server --mode=development",
"start": "serve -s ./build",
"build": "./node_modules/.bin/webpack --mode=production",
Expand Down

0 comments on commit 0cc1259

Please sign in to comment.