diff --git a/aqua-examples/price-oracle/web/package.json b/aqua-examples/price-oracle/web/package.json index bcede20..2ae2907 100644 --- a/aqua-examples/price-oracle/web/package.json +++ b/aqua-examples/price-oracle/web/package.json @@ -1,63 +1,64 @@ { - "name": "price-oracle", - "version": "0.1.0", - "private": true, - "dependencies": { - "@fluencelabs/fluence": "^0.19.2", - "@fluencelabs/fluence-network-environment": "^1.0.13", - "@testing-library/jest-dom": "^5.14.1", - "@testing-library/react": "^11.2.7", - "@testing-library/user-event": "^12.8.3", - "@types/jest": "^27.4.0", - "@types/node": "^12.20.16", - "@types/react": "^17.0.14", - "@types/react-dom": "^17.0.9", - "react": "^17.0.2", - "react-dom": "^17.0.2", - "react-scripts": "^5.0.0", - "typescript": "^4.3.5", - "web-vitals": "^1.1.2" - }, - "scripts": { - "postinstall": "copy-avm-public public", - "prestart": "npm run compile-aqua", - "start": "react-scripts start", - "build": "react-scripts build", - "test": "jest --config=jest.config.js", - "_test": "react-scripts test", - "eject": "react-scripts eject", - "compile-aqua": "aqua -i ../aqua/ -o ./src/_aqua", - "watch-aqua": "chokidar \"../aqua/**/*.aqua\" -c \"npm run compile-aqua\"" - }, - "eslintConfig": { - "extends": [ - "react-app", - "react-app/jest" - ] - }, - "browserslist": { - "production": [ - ">0.2%", - "not dead", - "not op_mini all", - "not ie 11", - "not android 4.4.3-4.4.4" - ], - "development": [ - "last 1 chrome version", - "last 1 firefox version", - "last 1 safari version" - ] - }, - "devDependencies": { - "@types/serve-handler": "^6.1.1", - "@fluencelabs/aqua": "^0.6.0-275", - "@types/jest-environment-puppeteer": "^4.4.1", - "@types/puppeteer": "^5.4.4", - "chokidar-cli": "^2.1.0", - "jest-puppeteer": "^6.0.2", - "node-sass": "^6.0.1", - "serve": "^13.0.2", - "ts-jest": "^27.1.3" - } + "name": "price-oracle", + "version": "0.1.0", + "private": true, + "dependencies": { + "@fluencelabs/fluence": "^0.19.2", + "@fluencelabs/fluence-network-environment": "^1.0.13", + "@testing-library/jest-dom": "^5.14.1", + "@testing-library/react": "^11.2.7", + "@testing-library/user-event": "^12.8.3", + "@types/jest": "^27.4.0", + "@types/node": "^12.20.16", + "@types/react": "^17.0.14", + "@types/react-dom": "^17.0.9", + "react": "^17.0.2", + "react-dom": "^17.0.2", + "react-scripts": "^5.0.0", + "typescript": "^4.3.5", + "web-vitals": "^1.1.2" + }, + "scripts": { + "postinstall": "copy-avm-public public", + "prestart": "npm run compile-aqua", + "prebuild": "npm run compile-aqua", + "start": "react-scripts start", + "build": "react-scripts build", + "test": "jest --config=jest.config.js", + "_test": "react-scripts test", + "eject": "react-scripts eject", + "compile-aqua": "aqua -i ../aqua/ -o ./src/_aqua", + "watch-aqua": "chokidar \"../aqua/**/*.aqua\" -c \"npm run compile-aqua\"" + }, + "eslintConfig": { + "extends": [ + "react-app", + "react-app/jest" + ] + }, + "browserslist": { + "production": [ + ">0.2%", + "not dead", + "not op_mini all", + "not ie 11", + "not android 4.4.3-4.4.4" + ], + "development": [ + "last 1 chrome version", + "last 1 firefox version", + "last 1 safari version" + ] + }, + "devDependencies": { + "@types/serve-handler": "^6.1.1", + "@fluencelabs/aqua": "^0.6.0-275", + "@types/jest-environment-puppeteer": "^4.4.1", + "@types/puppeteer": "^5.4.4", + "chokidar-cli": "^2.1.0", + "jest-puppeteer": "^6.0.2", + "node-sass": "^6.0.1", + "serve": "^13.0.2", + "ts-jest": "^27.1.3" + } } diff --git a/quickstart/1-browser-to-browser/package.json b/quickstart/1-browser-to-browser/package.json index 2fb401e..ac91fd7 100644 --- a/quickstart/1-browser-to-browser/package.json +++ b/quickstart/1-browser-to-browser/package.json @@ -22,6 +22,7 @@ "scripts": { "postinstall": "copy-avm-public public", "prestart": "npm run compile-aqua", + "prebuild": "npm run compile-aqua", "start": "react-scripts start", "build": "react-scripts build", "test": "jest --config=jest.config.js", diff --git a/quickstart/3-browser-to-service/package.json b/quickstart/3-browser-to-service/package.json index 68dd521..02ef01d 100644 --- a/quickstart/3-browser-to-service/package.json +++ b/quickstart/3-browser-to-service/package.json @@ -21,6 +21,7 @@ "scripts": { "postinstall": "copy-avm-public public", "prestart": "npm run compile-aqua", + "prebuild": "npm run compile-aqua", "start": "react-scripts start", "build": "react-scripts build", "test": "jest --config=jest.config.js",