Skip to content

Commit

Permalink
Move from cp to copyfiles. Fixes #198.
Browse files Browse the repository at this point in the history
  • Loading branch information
hildjj committed Oct 20, 2021
1 parent f581acc commit 38f8e54
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@
"ts": "tsc --build tsconfig.json",
"test": "jest",
"benchmark": "node ./benchmark/run_bench.js",
"rollup": "cp package.json build/ts && rollup -c",
"rollup": "copyfiles package.json build/ts && rollup -c",
"terser": "npm run terser:peggy && npm run terser:tests && npm run terser:bench",
"terser:peggy": "terser -c passes=2 -m --sequences 40 build/rollup/peggy.umd.js -o build/peggy.min.js",
"terser:tests": "terser -c passes=2 -m --sequences 40 --module build/rollup/test.umd.js -o build/test-bundle.min.js",
"terser:bench": "terser -c passes=2 -m --sequences 40 --module build/rollup/benchmark.umd.js -o build/benchmark-bundle.min.js",
"headers": "node ./tools/header.js build/peggy.min.js build/benchmark-bundle.min.js build/test-bundle.min.js",
"deploy": "npm run deploy:peggy && npm run deploy:tests && npm run deploy:bench",
"coverage:bin": "PEGGY_CLI_DEBUG=1 npm run rollup && nyc --reporter lcov jest run.spec.ts",
"deploy:peggy": "cp build/peggy.min.js docs/vendor/peggy/peggy.min.js && cp build/peggy.min.js browser/peggy.min.js",
"deploy:tests": "cp build/test-bundle.min.js docs/js/test-bundle.min.js",
"deploy:bench": "cp build/benchmark-bundle.min.js docs/js/benchmark-bundle.min.js",
"deploy:peggy": "copyfiles build/peggy.min.js docs/vendor/peggy/ && copyfiles build/peggy.min.js browser/",
"deploy:tests": "copyfiles build/test-bundle.min.js docs/js/",
"deploy:bench": "copyfiles build/benchmark-bundle.min.js docs/js/",
"build": "npm run build:notidy && npm run tidy",
"build:notidy": "npm run setup && npm run make && npm run headers && npm run lint && npm run deploy && npm run audit",
"setup": "npm run clean && npm run set_version",
Expand All @@ -60,6 +60,7 @@
"browser-sync": "^2.27.5",
"chai": "^4.3.4",
"commander": "^8.2.0",
"copyfiles": "^2.4.1",
"eslint": "^8.0.1",
"express": "4.17.1",
"jest": "^27.3.0",
Expand Down

0 comments on commit 38f8e54

Please sign in to comment.