Skip to content

Commit

Permalink
Merge pull request #2020 from aeternity/speedup-build
Browse files Browse the repository at this point in the history
Use `npm-run-all2` to run tasks in parallel
  • Loading branch information
davidyuk authored Sep 26, 2024
2 parents 3302b9c + 5a05ef5 commit 2eaf479
Show file tree
Hide file tree
Showing 2 changed files with 104 additions and 3 deletions.
99 changes: 99 additions & 0 deletions package-lock.json

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

8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,18 @@
"scripts": {
"build:assets": "node tooling/fetch-aesophia-cli.mjs",
"build:types": "tsc",
"build:dist": "webpack",
"build:es": "babel src --config-file ./babel.esm.config.js --out-dir es --extensions .js,.ts --out-file-extension .mjs --source-maps true",
"build:api:node": "autorest tooling/autorest/node.yaml && node tooling/autorest/postprocessing.mjs node",
"build:api:compiler": "node tooling/autorest/compiler-prepare.mjs && autorest tooling/autorest/compiler.yaml && node tooling/autorest/postprocessing.mjs compiler",
"build:api:middleware": "node tooling/autorest/middleware-prepare.mjs && autorest tooling/autorest/middleware.yaml && node tooling/autorest/postprocessing.mjs middleware",
"build:api": "npm run build:api:node && npm run build:api:compiler && npm run build:api:middleware",
"build:generate": "ts-node --transpileOnly tooling/generate-schema.ts",
"build": "npm run build:api && npm run build:generate && webpack && npm run build:types && npm run build:es && npm run build:assets",
"build": "run-p build:api:* build:assets build:generate && run-p build:dist build:es build:types",
"docs:examples": "node tooling/docs/examples-to-md.js examples/node/*.mjs",
"docs:api": "typedoc",
"commitlint": "commitlint --from develop",
"lint": "npm run lint:types && eslint . --ext .ts,.js,.mjs",
"lint": "run-p eslint lint:types",
"eslint": "eslint . --ext .ts,.js,.mjs",
"lint:types": "tsc -p tsconfig.tests.json",
"test": "mocha './test/unit/' './test/integration/'",
"test:integration": "mocha './test/integration/'",
Expand Down Expand Up @@ -123,6 +124,7 @@
"eslint-plugin-tsdoc": "^0.3.0",
"html-webpack-plugin": "^5.6.0",
"mocha": "^10.6.0",
"npm-run-all2": "^6.2.3",
"nyc": "^17.0.0",
"sinon": "^18.0.0",
"source-map": "^0.7.4",
Expand Down

0 comments on commit 2eaf479

Please sign in to comment.