Skip to content

Commit

Permalink
build: drop dist6 related targets
Browse files Browse the repository at this point in the history
  • Loading branch information
biniam committed Feb 1, 2018
1 parent ff4a320 commit 4a62b0e
Show file tree
Hide file tree
Showing 15 changed files with 29 additions and 56 deletions.
6 changes: 2 additions & 4 deletions packages/authentication/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
},
"scripts": {
"acceptance": "lb-mocha \"DIST/test/acceptance/**/*.js\"",
"build": "npm run build:dist && npm run build:dist6",
"build": "npm run build:dist",
"build:current": "lb-tsc",
"build:dist": "lb-tsc es2017",
"build:dist6": "lb-tsc es2015",
"build:apidocs": "lb-apidocs",
"clean": "lb-clean loopback-authentication*.tgz dist dist6 package api-docs",
"clean": "lb-clean loopback-authentication*.tgz dist package api-docs",
"integration": "lb-mocha \"DIST/test/integration/**/*.js\"",
"prepublishOnly": "npm run build && npm run build:apidocs",
"pretest": "npm run build:current",
Expand Down Expand Up @@ -48,7 +47,6 @@
"index.js",
"index.d.ts",
"dist/src",
"dist6/src",
"api-docs",
"src"
],
Expand Down
6 changes: 2 additions & 4 deletions packages/context/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
},
"scripts": {
"acceptance": "lb-mocha \"DIST/test/acceptance/**/*.js\"",
"build": "npm run build:dist && npm run build:dist6",
"build": "npm run build:dist",
"build:current": "lb-tsc",
"build:dist": "lb-tsc es2017",
"build:dist6": "lb-tsc es2015",
"build:apidocs": "lb-apidocs",
"clean": "lb-clean loopback-context*.tgz dist dist6 package api-docs",
"clean": "lb-clean loopback-context*.tgz dist package api-docs",
"prepublishOnly": "npm run build && npm run build:apidocs",
"pretest": "npm run build:current",
"test": "lb-mocha \"DIST/test/unit/**/*.js\" \"DIST/test/acceptance/**/*.js\"",
Expand Down Expand Up @@ -47,7 +46,6 @@
"index.js",
"index.d.ts",
"dist/src",
"dist6/src",
"api-docs",
"src"
],
Expand Down
6 changes: 2 additions & 4 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
},
"scripts": {
"acceptance": "lb-mocha \"DIST/test/acceptance/**/*.js\"",
"build": "npm run build:dist && npm run build:dist6",
"build": "npm run build:dist",
"build:current": "lb-tsc",
"build:dist": "lb-tsc es2017",
"build:dist6": "lb-tsc es2015",
"build:apidocs": "lb-apidocs",
"clean": "lb-clean loopback-core*.tgz dist dist6 package api-docs",
"clean": "lb-clean loopback-core*.tgz dist package api-docs",
"prepublishOnly": "npm run build && npm run build:apidocs",
"pretest": "npm run build:current",
"integration": "lb-mocha \"DIST/test/integration/**/*.js\"",
Expand All @@ -38,7 +37,6 @@
"index.js",
"index.d.ts",
"dist/src",
"dist6/src",
"api-docs",
"src"
],
Expand Down
5 changes: 2 additions & 3 deletions packages/example-getting-started/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@
},
"scripts": {
"acceptance": "lb-mocha \"DIST/test/acceptance/**/*.js\"",
"build": "npm run build:dist && npm run build:dist6",
"build": "npm run build:dist",
"build:current": "lb-tsc",
"build:dist": "lb-tsc es2017",
"build:dist6": "lb-tsc es2015",
"build:apidocs": "lb-apidocs",
"clean": "lb-clean *example-getting-started*.tgz dist dist6 package api-docs",
"clean": "lb-clean *example-getting-started*.tgz dist package api-docs",
"prepublishOnly": "npm run build && npm run build:apidocs",
"pretest": "npm run build:current",
"test": "lb-mocha \"DIST/test/unit/**/*.js\" \"DIST/test/acceptance/**/*.js\"",
Expand Down
5 changes: 2 additions & 3 deletions packages/example-hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@
},
"scripts": {
"acceptance": "lb-mocha \"DIST/test/acceptance/**/*.js\"",
"build": "npm run build:dist && npm run build:dist6",
"build": "npm run build:dist",
"build:current": "lb-tsc",
"build:dist": "lb-tsc es2017",
"build:dist6": "lb-tsc es2015",
"build:apidocs": "lb-apidocs",
"clean": "lb-clean *example-hello-world*.tgz dist dist6 package api-docs",
"clean": "lb-clean *example-hello-world*.tgz dist package api-docs",
"prepublishOnly": "npm run build && npm run build:apidocs",
"verify": "npm pack && tar xf *example-hello-world*.tgz && tree package && npm run clean",
"start": "npm run build && node ."
Expand Down
5 changes: 2 additions & 3 deletions packages/example-log-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@
"node": ">=6"
},
"scripts": {
"build": "npm run build:dist && npm run build:dist6",
"build": "npm run build:dist",
"build:current": "lb-tsc",
"build:dist": "lb-tsc es2017",
"build:dist6": "lb-tsc es2015",
"build:apidocs": "lb-apidocs",
"build:watch": "lb-tsc --watch",
"clean": "lb-clean *example-log-extension-*.tgz dist dist6 package api-docs",
"clean": "lb-clean *example-log-extension-*.tgz dist package api-docs",
"lint": "npm run prettier:check && npm run tslint",
"lint:fix": "npm run prettier:fix && npm run tslint",
"prettier:cli": "lb-prettier \"**/*.ts\" \"**/*.js\"",
Expand Down
6 changes: 2 additions & 4 deletions packages/example-rpc-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@
"node": ">=6"
},
"scripts": {
"build": "npm run build:dist && npm run build:dist6",
"build": "npm run build:dist",
"build:current": "lb-tsc",
"build:dist": "lb-tsc es2017",
"build:dist6": "lb-tsc es2015",
"build:watch": "lb-tsc --watch",
"clean": "lb-clean",
"lint": "npm run prettier:check && npm run tslint",
Expand All @@ -40,8 +39,7 @@
"README.md",
"index.js",
"index.d.ts",
"dist",
"dist6"
"dist"
],
"dependencies": {
"@loopback/context": "^4.0.0-alpha.29",
Expand Down
6 changes: 2 additions & 4 deletions packages/metadata/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
},
"scripts": {
"acceptance": "lb-mocha \"DIST/test/acceptance/**/*.js\"",
"build": "npm run build:dist && npm run build:dist6",
"build": "npm run build:dist",
"build:current": "lb-tsc",
"build:dist": "lb-tsc es2017",
"build:dist6": "lb-tsc es2015",
"build:apidocs": "lb-apidocs",
"clean": "lb-clean loopback-metadata*.tgz dist dist6 package api-docs",
"clean": "lb-clean loopback-metadata*.tgz dist package api-docs",
"prepublishOnly": "npm run build && npm run build:apidocs",
"pretest": "npm run build:current",
"test": "lb-mocha \"DIST/test/unit/**/*.js\" \"DIST/test/acceptance/**/*.js\"",
Expand Down Expand Up @@ -43,7 +42,6 @@
"index.js",
"index.d.ts",
"dist/src",
"dist6/src",
"api-docs",
"src"
],
Expand Down
6 changes: 2 additions & 4 deletions packages/openapi-spec-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@
"node": ">=6"
},
"scripts": {
"build": "npm run build:dist && npm run build:dist6",
"build": "npm run build:dist",
"build:current": "lb-tsc",
"build:dist": "lb-tsc es2017",
"build:dist6": "lb-tsc es2015",
"build:apidocs": "lb-apidocs",
"clean": "lb-clean loopback-openapi-spec*.tgz dist dist6 package api-docs",
"clean": "lb-clean loopback-openapi-spec*.tgz dist package api-docs",
"prepublishOnly": "npm run build && npm run build:apidocs",
"verify": "npm pack && tar xf loopback-openapi-spec*.tgz && tree package && npm run clean"
},
Expand All @@ -36,7 +35,6 @@
"index.js",
"index.d.ts",
"dist/src",
"dist6/src",
"api-docs",
"src"
],
Expand Down
6 changes: 2 additions & 4 deletions packages/openapi-spec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@
"@loopback/build": "^4.0.0-alpha.12"
},
"scripts": {
"build": "npm run build:dist && npm run build:dist6",
"build": "npm run build:dist",
"build:current": "lb-tsc",
"build:dist": "lb-tsc es2017",
"build:dist6": "lb-tsc es2015",
"build:apidocs": "lb-apidocs",
"clean": "lb-clean loopback-openapi-spec*.tgz dist dist6 package api-docs",
"clean": "lb-clean loopback-openapi-spec*.tgz dist package api-docs",
"prepublishOnly": "npm run build && npm run build:apidocs",
"verify": "npm pack && tar xf loopback-openapi-spec*.tgz && tree package && npm run clean"
},
Expand All @@ -32,7 +31,6 @@
"index.js",
"index.d.ts",
"dist/src",
"dist6/src",
"api-docs",
"src"
],
Expand Down
4 changes: 1 addition & 3 deletions packages/openapi-v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@
"@types/lodash": "^4.14.96"
},
"scripts": {
"build": "npm run build:dist && npm run build:dist6",
"build": "npm run build:dist",
"build:current": "lb-tsc",
"build:dist": "lb-tsc es2017",
"build:dist6": "lb-tsc es2015",
"build:apidocs": "lb-apidocs",
"clean": "lb-clean loopback-openapi-v2*.tgz dist* package",
"prepublishOnly": "npm run build && npm run build:apidocs",
Expand All @@ -38,7 +37,6 @@
"index.js",
"index.d.ts",
"dist/src",
"dist6/src",
"api-docs",
"src"
],
Expand Down
6 changes: 2 additions & 4 deletions packages/repository-json-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@
"node": ">=6"
},
"scripts": {
"build": "npm run build:dist && npm run build:dist6",
"build": "npm run build:dist",
"build:current": "lb-tsc",
"build:dist": "lb-tsc es2017",
"build:dist6": "lb-tsc es2015",
"build:apidocs": "lb-apidocs",
"clean": "lb-clean loopback-json-schema*.tgz dist dist6 package api-docs",
"clean": "lb-clean loopback-json-schema*.tgz dist package api-docs",
"prepublishOnly": "npm run build && npm run build:apidocs",
"pretest": "npm run build:current",
"test": "lb-mocha \"DIST/test/unit/**/*.js\" \"DIST/test/integration/**/*.js\" \"DIST/test/acceptance/**/*.js\"",
Expand Down Expand Up @@ -43,7 +42,6 @@
"index.js",
"index.d.ts",
"dist/src",
"dist6/src",
"api-docs",
"src"
],
Expand Down
6 changes: 2 additions & 4 deletions packages/repository/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@
"main": "index",
"scripts": {
"acceptance": "lb-mocha \"DIST/test/acceptance/**/*.js\"",
"build": "npm run build:dist && npm run build:dist6",
"build": "npm run build:dist",
"build:current": "lb-tsc",
"build:dist": "lb-tsc es2017",
"build:dist6": "lb-tsc es2015",
"build:apidocs": "lb-apidocs",
"clean": "lb-clean loopback-repository*.tgz dist dist6 package api-docs",
"clean": "lb-clean loopback-repository*.tgz dist package api-docs",
"prepublishOnly": "npm run build && npm run build:apidocs",
"pretest": "npm run build:current",
"test": "lb-mocha \"DIST/test/unit/**/*.js\" \"DIST/test/acceptance/**/*.js\"",
Expand All @@ -37,7 +36,6 @@
"index.js",
"index.d.ts",
"dist/src",
"dist6/src",
"api-docs",
"src"
],
Expand Down
6 changes: 2 additions & 4 deletions packages/rest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
},
"scripts": {
"acceptance": "lb-mocha \"DIST/test/acceptance/**/*.js\"",
"build": "npm run build:dist && npm run build:dist6",
"build": "npm run build:dist",
"build:current": "lb-tsc",
"build:dist": "lb-tsc es2017",
"build:dist6": "lb-tsc es2015",
"build:apidocs": "lb-apidocs",
"clean": "lb-clean loopback-rest*.tgz dist dist6 package api-docs",
"clean": "lb-clean loopback-rest*.tgz dist package api-docs",
"prepublishOnly": "npm run build && npm run build:apidocs",
"pretest": "npm run build:current",
"integration": "lb-mocha \"DIST/test/integration/**/*.js\"",
Expand Down Expand Up @@ -51,7 +50,6 @@
"index.js",
"index.d.ts",
"dist/src",
"dist6/src",
"api-docs",
"src"
],
Expand Down
6 changes: 2 additions & 4 deletions packages/testlab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@
"node": ">=6"
},
"scripts": {
"build": "npm run build:dist && npm run build:dist6",
"build": "npm run build:dist",
"build:current": "lb-tsc",
"build:dist": "lb-tsc es2017",
"build:dist6": "lb-tsc es2015",
"clean": "lb-clean loopback-testlab*.tgz dist dist6 package api-docs",
"clean": "lb-clean loopback-testlab*.tgz dist package api-docs",
"prepublishOnly": "npm run build",
"pretest": "npm run build:current",
"test": "lb-mocha \"DIST/test\"",
Expand Down Expand Up @@ -41,7 +40,6 @@
"index.js",
"index.d.ts",
"dist/src",
"dist6/src",
"should-as-function.d.ts",
"src"
],
Expand Down

0 comments on commit 4a62b0e

Please sign in to comment.