Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add "pre" scripts such that `npm run webpack:server` in a clean working copy will execute all prerequisites to start the server (installing dependencies, generating purescript bridge code, building purescript sources and finally starting the webpack server itself).
- Loading branch information
Showing
4 changed files
with
48 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,41 @@ | ||
{ | ||
"name": "plutus-scb-client", | ||
"version": "1.0.0", | ||
"scripts": { | ||
"webpack": "DEBUG=purs-loader* DEBUG_DEPTH=100 webpack --progress --bail --mode=production -p", | ||
"webpack:watch": "PATH=$PATH:../releases/psc-package DEBUG=purs-loader* DEBUG_DEPTH=100 webpack --progress --display-error-details --display verbose --watch", | ||
"webpack:server": "webpack-dev-server --progress --inline --hot --mode=development", | ||
"webpack:server:debug": "DEBUG=purs-loader* DEBUG_DEPTH=100 webpack-dev-server --progress --inline --hot", | ||
"purs:compile": "spago build", | ||
"purs:ide": "purs ide server --log-level=debug 'src/**/*.purs' 'generated/**/*.purs' 'test/**/*.purs' 'web-common/**/*.purs'", | ||
"test": "spago --no-psa test", | ||
"test:watch": "spago test --no-psa --watch", | ||
"docs": "spago docs", | ||
"repl": "spago repl" | ||
}, | ||
"dependencies": { | ||
"@fortawesome/fontawesome-free": "^5.10.2", | ||
"bignumber": "^1.1.0", | ||
"bootstrap": "^4.3.1", | ||
"css-loader": "^1.0.0", | ||
"extract-text-webpack-plugin": "^3.0.2", | ||
"file-loader": "^2.0.0", | ||
"html-webpack-plugin": "^3.2.0", | ||
"jquery": "^3.3.1", | ||
"json-bigint": "^1.0.0", | ||
"node-sass": "^4.12.0", | ||
"purs-loader": "^3.6.0", | ||
"sass-loader": "^7.1.0", | ||
"style-loader": "^0.23.1", | ||
"url-loader": "^1.1.2", | ||
"uuid": "^7.0.2", | ||
"uuid-validate": "^0.0.3", | ||
"webpack": "^4.41.0", | ||
"webpack-cli": "^3.1.2", | ||
"webpack-dev-server": "^3.1.10", | ||
"xhr2": "^0.1.4" | ||
}, | ||
"resolutions": {}, | ||
"license": "Apache-2.0" | ||
"name": "plutus-scb-client", | ||
"version": "1.0.0", | ||
"scripts": { | ||
"webpack": "DEBUG=purs-loader* DEBUG_DEPTH=100 webpack --progress --bail --mode=production -p", | ||
"webpack:server": "webpack-dev-server --progress --inline --hot --mode=development", | ||
"prewebpack:server": "npm run purs:compile", | ||
"webpack:server:debug": "DEBUG=purs-loader* DEBUG_DEPTH=100 webpack-dev-server --progress --inline --hot", | ||
"purs:compile": "spago build", | ||
"prepurs:compile": "npm install && plutus-scb-generate-purs", | ||
"purs:ide": "purs ide server --log-level=debug 'src/**/*.purs' 'generated/**/*.purs' 'test/**/*.purs' 'web-common/**/*.purs'", | ||
"test": "spago --no-psa test", | ||
"test:watch": "spago test --no-psa --watch", | ||
"docs": "spago docs", | ||
"repl": "spago repl" | ||
}, | ||
"dependencies": { | ||
"@fortawesome/fontawesome-free": "^5.10.2", | ||
"bignumber": "^1.1.0", | ||
"bootstrap": "^4.3.1", | ||
"css-loader": "^1.0.0", | ||
"extract-text-webpack-plugin": "^3.0.2", | ||
"file-loader": "^2.0.0", | ||
"html-webpack-plugin": "^3.2.0", | ||
"jquery": "^3.3.1", | ||
"json-bigint": "^1.0.0", | ||
"node-sass": "^4.12.0", | ||
"purs-loader": "^3.6.0", | ||
"sass-loader": "^7.1.0", | ||
"style-loader": "^0.23.1", | ||
"url-loader": "^1.1.2", | ||
"uuid": "^7.0.2", | ||
"uuid-validate": "^0.0.3", | ||
"webpack": "^4.41.0", | ||
"webpack-cli": "^3.1.2", | ||
"webpack-dev-server": "^3.1.10", | ||
"xhr2": "^0.1.4" | ||
}, | ||
"resolutions": {}, | ||
"license": "Apache-2.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters