Skip to content

Commit

Permalink
Refactor clean NPM scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhoibm committed May 29, 2017
1 parent 2acf19c commit 41d839d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/authentication/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "npm run build:lib && npm run build:lib6",
"build:lib": "node ../../bin/compile-package es2017",
"build:lib6": "node ../../bin/compile-package es2015",
"clean": "rm -f loopback-authentication*.tgz && rm -rf lib* && rm -rf package",
"clean": "rm -rf loopback-authentication*.tgz lib* package",
"integration": "mocha --opts ../../test/mocha.opts 'test/integration/**/*.ts'",
"prepublish": "npm run build",
"pretest": "npm run build",
Expand Down
2 changes: 1 addition & 1 deletion packages/context/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "npm run build:lib && npm run build:lib6",
"build:lib": "node ../../bin/compile-package es2017",
"build:lib6": "node ../../bin/compile-package es2015",
"clean": "rm -f loopback-context*.tgz && rm -rf lib* && rm -rf package",
"clean": "rm -rf loopback-context*.tgz lib* package",
"prepublish": "npm run build",
"pretest": "npm run build",
"test": "mocha --opts ../../test/mocha.opts 'test/unit/**/*.ts' 'test/acceptance/**/*.ts'",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "npm run build:lib && npm run build:lib6",
"build:lib": "node ../../bin/compile-package es2017",
"build:lib6": "node ../../bin/compile-package es2015",
"clean": "rm -f loopback-core*.tgz && rm -rf lib* && rm -rf package",
"clean": "rm -rf loopback-core*.tgz lib* package",
"prepublish": "npm run build",
"pretest": "npm run build",
"integration": "mocha --opts ../../test/mocha.opts 'test/integration/**/*.ts'",
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 @@ -6,7 +6,7 @@
"build": "npm run build:lib && npm run build:lib6",
"build:lib": "node ../../bin/compile-package es2017",
"build:lib6": "node ../../bin/compile-package es2015",
"clean": "rm -f loopback-openapi-spec*.tgz && rm -rf lib* && rm -rf package",
"clean": "rm -rf loopback-openapi-spec*.tgz lib* package",
"prepublish": "npm run build",
"verify": "npm pack && tar xf loopback-openapi-spec*.tgz && tree package && npm run clean"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi-spec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"build": "npm run build:lib && npm run build:lib6",
"build:lib": "node ../../bin/compile-package es2017",
"build:lib6": "node ../../bin/compile-package es2015",
"clean": "rm -f loopback-openapi-spec*.tgz && rm -rf lib* && rm -rf package",
"clean": "rm -rf loopback-openapi-spec*.tgz lib* package",
"prepublish": "npm run build",
"verify": "npm pack && tar xf loopback-openapi-spec*.tgz && tree package && npm run clean"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/testlab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"build": "npm run build:lib && npm run build:lib6",
"build:lib": "node ../../bin/compile-package es2017",
"build:lib6": "node ../../bin/compile-package es2015",
"clean": "rm -f loopback-testlab*.tgz && rm -rf lib* && rm -rf package",
"clean": "rm -f loopback-testlab*.tgz lib* package",
"prepublish": "npm run build",
"pretest": "npm run build",
"test": "mocha",
Expand Down

0 comments on commit 41d839d

Please sign in to comment.