Skip to content

Commit

Permalink
Merge pull request #1683 from blackflux/dev
Browse files Browse the repository at this point in the history
[Gally]: master <- dev
  • Loading branch information
simlu committed Jul 24, 2022
2 parents ff7c75c + 660be73 commit 512e302
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"scripts": {
"clean": "rm -rf lib",
{{#nccEnabled}}
"build": "cp -rf ./src ./lib && ncc build -m -o lib && mv lib/index.js lib/index.min.js && gzip -9 lib/index.min.js && cp src/index.js lib/index.js && rm lib/package.json",
"build": "cp -rf ./src ./lib && ncc build -m -o lib && mv lib/index.js lib/index.min.js && cp src/index.js lib/index.js && rm lib/package.json",
"ncc-analyze": "yarn clean && cp -rf ./src ./lib && ncc build -m -s -o lib && npx source-map-explorer lib/index.js --only-mapped --html source.html && yarn clean",
{{/nccEnabled}}
{{^nccEnabled}}
Expand Down
2 changes: 1 addition & 1 deletion test/projects/assorted/@npm-closedsource/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"keywords": [],
"scripts": {
"clean": "rm -rf lib",
"build": "cp -rf ./src ./lib && ncc build -m -o lib && mv lib/index.js lib/index.min.js && gzip -9 lib/index.min.js && cp src/index.js lib/index.js && rm lib/package.json",
"build": "cp -rf ./src ./lib && ncc build -m -o lib && mv lib/index.js lib/index.min.js && cp src/index.js lib/index.js && rm lib/package.json",
"build-clean": "yarn run clean && yarn run build",
"test-simple": "c8 mocha --experimental-loader=./test/hot.js \"./test/**/*.spec.js\"",
"test": "yarn run clean && yarn run gardener && yarn run test-simple",
Expand Down
2 changes: 1 addition & 1 deletion test/projects/assorted/@npm-opensource-os/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
],
"scripts": {
"clean": "rm -rf lib",
"build": "cp -rf ./src ./lib && ncc build -m -o lib && mv lib/index.js lib/index.min.js && gzip -9 lib/index.min.js && cp src/index.js lib/index.js && rm lib/package.json",
"build": "cp -rf ./src ./lib && ncc build -m -o lib && mv lib/index.js lib/index.min.js && cp src/index.js lib/index.js && rm lib/package.json",
"build-clean": "yarn run clean && yarn run build",
"test-simple": "c8 mocha --experimental-loader=./test/hot.js \"./test/**/*.spec.js\"",
"test": "yarn run clean && yarn run gardener && yarn run test-simple",
Expand Down
2 changes: 1 addition & 1 deletion test/projects/assorted/@npm-opensource/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"keywords": [],
"scripts": {
"clean": "rm -rf lib",
"build": "cp -rf ./src ./lib && ncc build -m -o lib && mv lib/index.js lib/index.min.js && gzip -9 lib/index.min.js && cp src/index.js lib/index.js && rm lib/package.json",
"build": "cp -rf ./src ./lib && ncc build -m -o lib && mv lib/index.js lib/index.min.js && cp src/index.js lib/index.js && rm lib/package.json",
"build-clean": "yarn run clean && yarn run build",
"test-simple": "c8 mocha --experimental-loader=./test/hot.js \"./test/**/*.spec.js\"",
"test": "yarn run clean && yarn run gardener && yarn run test-simple",
Expand Down

0 comments on commit 512e302

Please sign in to comment.