Skip to content

Commit

Permalink
feat: update package.json and .travis.yml for builds
Browse files Browse the repository at this point in the history
- improve package.json to update project refs and clean *.tsbuildinfo
- fix travis script to allow `tsc -b`
  • Loading branch information
raymondfeng committed Apr 22, 2020
1 parent 35f7054 commit cb2b8e6
Show file tree
Hide file tree
Showing 35 changed files with 47 additions and 50 deletions.
23 changes: 9 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,8 @@ matrix:
services:
- mongodb
script:
- npm run postinstall -- --scope "@loopback/test-repository-mongodb" --include-dependencies
- npm run build -- --scope "@loopback/test-repository-mongodb" --include-dependencies
- cd acceptance/repository-mongodb && npm run mocha
- lerna bootstrap --scope "@loopback/test-repository-mongodb" --include-dependencies
- cd acceptance/repository-mongodb && npm test
- node_js: "12"
os: linux
env:
Expand All @@ -68,9 +67,8 @@ matrix:
- mysql -e "GRANT ALL PRIVILEGES ON *.* TO 'test'@'localhost' WITH GRANT OPTION;FLUSH PRIVILEGES;"
- mysql -e "GRANT SUPER ON *.* TO 'test'@'localhost' IDENTIFIED BY 'test';FLUSH PRIVILEGES;"
script:
- npm run postinstall -- --scope "@loopback/test-repository-mysql" --include-dependencies
- npm run build -- --scope "@loopback/test-repository-mysql" --include-dependencies
- cd acceptance/repository-mysql && npm run mocha
- lerna bootstrap --scope "@loopback/test-repository-mysql" --include-dependencies
- cd acceptance/repository-mysql && npm test
- node_js: "12"
os: linux
env:
Expand All @@ -79,18 +77,16 @@ matrix:
services:
- postgresql
script:
- npm run postinstall -- --scope "@loopback/test-repository-postgresql" --include-dependencies
- npm run build -- --scope "@loopback/test-repository-postgresql" --include-dependencies
- lerna bootstrap --scope "@loopback/test-repository-postgresql" --include-dependencies
- psql -U postgres -a -f acceptance/repository-postgresql/test/schema.sql
- cd acceptance/repository-postgresql && npm run mocha
- cd acceptance/repository-postgresql && npm test
- node_js: "12"
os: linux
env:
- TASK=test-repository-cloudant
script:
# set up docker image and create admin for cloudant.
- npm run postinstall -- --scope "@loopback/test-repository-cloudant" --include-dependencies
- npm run build -- --scope "@loopback/test-repository-cloudant" --include-dependencies
- lerna bootstrap --scope "@loopback/test-repository-cloudant" --include-dependencies
- cd acceptance/repository-cloudant && sh setup.sh
- npm test
- node_js: "12"
Expand All @@ -100,9 +96,8 @@ matrix:
services:
- docker
script:
- npm run postinstall -- --scope "@loopback/test-extension-logging-fluentd" --include-dependencies
- npm run build -- --scope "@loopback/test-extension-logging-fluentd" --include-dependencies
- cd acceptance/extension-logging-fluentd && npm run mocha
- lerna bootstrap --scope "@loopback/test-extension-logging-fluentd" --include-dependencies
- cd acceptance/extension-logging-fluentd && npm test

branches:
only:
Expand Down
2 changes: 1 addition & 1 deletion acceptance/extension-logging-fluentd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"scripts": {
"build": "lb-tsc",
"clean": "lb-clean loopback-test-extension-logging-fluentd*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-test-extension-logging-fluentd*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"test": "npm run mocha",
"mocha": "lb-mocha \"dist/__tests__/**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion acceptance/repository-cloudant/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"scripts": {
"build": "lb-tsc",
"clean": "lb-clean loopback-test-repository-cloudant*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-test-repository-cloudant*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"test": "npm run mocha",
"mocha": "lb-mocha \"dist/__tests__/**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion acceptance/repository-mongodb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"scripts": {
"build": "lb-tsc",
"clean": "lb-clean loopback-test-repository-mongodb*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-test-repository-mongodb*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"test": "npm run mocha",
"mocha": "lb-mocha \"dist/__tests__/**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion acceptance/repository-mysql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"scripts": {
"build": "lb-tsc",
"clean": "lb-clean loopback-test-repository-mysql*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-test-repository-mysql*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"test": "npm run mocha",
"mocha": "lb-mocha \"dist/__tests__/**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion acceptance/repository-postgresql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"scripts": {
"build": "lb-tsc",
"clean": "lb-clean loopback-test-repository-postgresql*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-test-repository-postgresql*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"test": "npm run mocha",
"mocha": "lb-mocha \"dist/__tests__/**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion extensions/apiconnect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
"build:apidocs": "lb-apidocs",
"build": "lb-tsc",
"clean": "lb-clean loopback-apiconnect*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-apiconnect*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"test": "lb-mocha \"dist/__tests__/**/*.js\"",
"unit": "lb-mocha \"dist/__tests__/unit/**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion extensions/authentication-passport/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
"build:apidocs": "lb-apidocs",
"build": "lb-tsc",
"clean": "lb-clean loopback-authentication-passport*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-authentication-passport*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"test": "lb-mocha \"dist/__tests__/**/*.js\"",
"unit": "lb-mocha \"dist/__tests__/unit/**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion extensions/context-explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"scripts": {
"build": "lb-tsc",
"clean": "lb-clean loopback-explorer*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-explorer*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"test": "lb-mocha \"dist/__tests__/**/*.js\"",
"verify": "npm pack && tar xf loopback-context-explorer*.tgz && tree package && npm run clean"
Expand Down
2 changes: 1 addition & 1 deletion extensions/cron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"scripts": {
"build": "lb-tsc",
"clean": "lb-clean loopback-cron*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-cron*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"test": "lb-mocha \"dist/__tests__/**/*.js\"",
"verify": "npm pack && tar xf loopback-cron*.tgz && tree package && npm run clean"
Expand Down
2 changes: 1 addition & 1 deletion extensions/health/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"scripts": {
"build": "lb-tsc",
"clean": "lb-clean loopback-extension-health*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-extension-health*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"test": "lb-mocha \"dist/__tests__/**/*.js\"",
"verify": "npm pack && tar xf loopback-extension-health*.tgz && tree package && npm run clean",
Expand Down
2 changes: 1 addition & 1 deletion extensions/logging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"scripts": {
"build": "lb-tsc",
"clean": "lb-clean loopback-extension-logging*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-extension-logging*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"test": "lb-mocha \"dist/__tests__/**/*.js\"",
"verify": "npm pack && tar xf loopback-extension-logging*.tgz && tree package && npm run clean"
Expand Down
2 changes: 1 addition & 1 deletion extensions/metrics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"scripts": {
"build": "lb-tsc",
"clean": "lb-clean loopback-extension-metrics*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-extension-metrics*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"test": "lb-mocha \"dist/__tests__/**/*.js\"",
"verify": "npm pack && tar xf loopback-extension-metrics*.tgz && tree package && npm run clean"
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
"typescript": "~3.8.3"
},
"scripts": {
"postinstall": "lerna bootstrap",
"bootstrap": "lerna bootstrap",
"postinstall": "npm run -s bootstrap && npm run -s update-ts-project-refs",
"update-ts-project-refs": "node bin/update-ts-project-refs.js -f",
"update-packages": "npm run -s update-package-locks",
"prerelease": "npm run build:full && npm run mocha && npm run lint",
"release": "lerna version && lerna publish from-git --yes",
Expand All @@ -54,7 +56,7 @@
"prettier:fix": "npm run prettier:cli -- --write",
"clean": "lerna run clean && node packages/build/bin/run-clean \"packages/*/dist\" \"extensions/*/dist\" \"examples/*/dist\" \"benchmark/dist\"",
"clean:lerna": "lerna clean",
"build": "node bin/run-lerna run build --sort",
"build": "node packages/build/bin/compile-package -b",
"build:full": "npm ci --ignore-scripts && lerna bootstrap --ci && npm run clean && npm run build",
"pretest": "npm run clean && npm run build",
"test": "node packages/build/bin/run-nyc npm run mocha --scripts-prepend-node-path",
Expand Down
2 changes: 1 addition & 1 deletion packages/authentication/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
"build": "lb-tsc",
"clean": "lb-clean loopback-authentication*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-authentication*.tgz dist *.tsbuildinfo package",
"integration": "lb-mocha \"dist/__tests__/integration/**/*.js\"",
"pretest": "npm run build",
"test": "lb-mocha \"dist/__tests__/**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion packages/boot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
"build": "lb-tsc",
"clean": "lb-clean loopback-boot*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-boot*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"integration": "lb-mocha \"dist/__tests__/integration/**/*.js\"",
"test": "lb-mocha \"dist/__tests__/**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion packages/booter-lb3app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"scripts": {
"build": "lb-tsc",
"clean": "lb-clean loopback-booter-lb3app*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-booter-lb3app*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"test": "lb-mocha \"dist/__tests__/**/*.js\"",
"verify": "npm pack && tar xf loopback-booter-lb3app*.tgz && tree package && npm run clean"
Expand Down
2 changes: 1 addition & 1 deletion packages/context/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
"build": "lb-tsc",
"clean": "lb-clean loopback-context*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-context*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"test": "lb-mocha \"dist/__tests__/**/*.js\"",
"unit": "lb-mocha \"dist/__tests__/unit/**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
"build": "lb-tsc",
"clean": "lb-clean loopback-core*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-core*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"integration": "lb-mocha \"dist/__tests__/integration/**/*.js\"",
"test": "lb-mocha \"dist/__tests__/**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion packages/http-caching-proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"scripts": {
"build": "lb-tsc",
"clean": "lb-clean loopback-caching-proxy*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-caching-proxy*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"test": "lb-mocha \"dist/__tests__/**/*.js\"",
"verify": "npm pack && tar xf loopback-caching-proxy*.tgz && tree package && npm run clean"
Expand Down
2 changes: 1 addition & 1 deletion packages/http-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"scripts": {
"build": "lb-tsc",
"clean": "lb-clean loopback-http-server*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-http-server*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"test": "lb-mocha \"dist/__tests__/**/*.js\"",
"verify": "npm pack && tar xf loopback-http-server*.tgz && tree package && npm run clean"
Expand Down
2 changes: 1 addition & 1 deletion packages/metadata/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
"build": "lb-tsc",
"clean": "lb-clean loopback-metadata*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-metadata*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"test": "lb-mocha \"dist/__tests__/**/*.js\"",
"unit": "lb-mocha \"dist/__tests__/unit/**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion packages/model-api-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"scripts": {
"build": "lb-tsc",
"clean": "lb-clean loopback-model-api-builder*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-model-api-builder*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"test": "",
"verify": "npm pack && tar xf loopback-model-api-builder*.tgz && tree package && npm run clean"
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi-spec-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"scripts": {
"build": "lb-tsc",
"clean": "lb-clean loopback-openapi-spec-builder*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-openapi-spec-builder*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"test": "lb-mocha \"dist/__tests__/**/*.js\"",
"verify": "npm pack && tar xf loopback-openapi-spec-builder*.tgz && tree package && npm run clean"
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi-v3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"scripts": {
"build": "lb-tsc",
"clean": "lb-clean loopback-openapi-v3*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-openapi-v3*.tgz dist *.tsbuildinfo package",
"integration": "lb-mocha \"dist/__tests__/integration/**/*.js\"",
"pretest": "npm run build",
"test": "lb-mocha \"dist/__tests__/**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion packages/repository-json-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"scripts": {
"build": "lb-tsc",
"clean": "lb-clean loopback-json-schema*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-json-schema*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"test": "lb-mocha \"dist/__tests__/**/*.js\"",
"verify": "npm pack && tar xf loopback-json-schema*.tgz && tree package && npm run clean"
Expand Down
2 changes: 1 addition & 1 deletion packages/repository-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"scripts": {
"build": "lb-tsc",
"clean": "lb-clean loopback-repository-tests*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-repository-tests*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"test": "lb-mocha \"dist/__tests__/**/*.js\"",
"verify": "npm pack && tar xf loopback-repository*.tgz && tree package && npm run clean"
Expand Down
2 changes: 1 addition & 1 deletion packages/repository/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
"build": "lb-tsc",
"clean": "lb-clean loopback-repository*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-repository*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"test": "lb-mocha \"dist/__tests__/**/*.js\"",
"verify": "npm pack && tar xf loopback-repository*.tgz && tree package && npm run clean"
Expand Down
2 changes: 1 addition & 1 deletion packages/rest-crud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"scripts": {
"build": "lb-tsc",
"clean": "lb-clean loopback-rest-crud*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-rest-crud*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"test": "lb-mocha \"dist/__tests__/**/*.js\"",
"verify": "npm pack && tar xf loopback-rest-crud*.tgz && tree package && npm run clean"
Expand Down
2 changes: 1 addition & 1 deletion packages/rest-explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"scripts": {
"build": "lb-tsc",
"clean": "lb-clean loopback-explorer*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-explorer*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"test": "lb-mocha \"dist/__tests__/**/*.js\"",
"verify": "npm pack && tar xf loopback-explorer*.tgz && tree package && npm run clean"
Expand Down
2 changes: 1 addition & 1 deletion packages/rest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
"build": "lb-tsc",
"clean": "lb-clean loopback-rest*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-rest*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"integration": "lb-mocha \"dist/__tests__/integration/**/*.js\"",
"test": "lb-mocha \"dist/__tests__/**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion packages/service-proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
"build": "lb-tsc",
"clean": "lb-clean loopback-service-proxy*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-service-proxy*.tgz dist *.tsbuildinfo package",
"integration": "lb-mocha \"dist/__tests__/integration/**/*.js\"",
"pretest": "npm run build",
"test": "lb-mocha \"dist/__tests__/**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion packages/testlab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"scripts": {
"build": "lb-tsc",
"clean": "lb-clean loopback-testlab*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-testlab*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"test": "lb-mocha \"dist/__tests__/**/*.js\"",
"verify": "npm pack && tar xf loopback-testlab*.tgz && tree package && npm run clean"
Expand Down
4 changes: 2 additions & 2 deletions packages/tsdocs/fixtures/monorepo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"version": "1.0.0",
"description": "Root",
"scripts": {
"clean": "node run-lerna run clean",
"clean-fixtures": "node run-lerna run clean",
"bootstrap": "node run-lerna bootstrap",
"build": "npm -s run bootstrap && npm -s run clean && node run-lerna run build"
"build": "npm -s run bootstrap && npm -s run clean-fixtures && node run-lerna run build"
},
"author": "",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/tsdocs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"document-apidocs": "api-documenter markdown -i ../../docs/apidocs/models -o ../../docs/site/apidocs",
"update-apidocs": "node bin/update-apidocs",
"build": "lb-tsc && npm run build --prefix fixtures/monorepo",
"clean": "lb-clean loopback-tsdocs*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean loopback-tsdocs*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"test": "lb-mocha \"dist/__tests__/**/*.js\"",
"verify": "npm pack && tar xf loopback-tsdocs*.tgz && tree package && npm run clean"
Expand Down

0 comments on commit cb2b8e6

Please sign in to comment.