- Lower-case `FRS-replace`

master
Brett Zamir 2019-11-24 17:14:53 +08:00
parent 1930d01007
commit 1212c76e2f
1 changed files with 2 additions and 2 deletions

View File

@ -31,8 +31,8 @@
"cypress:run": "cypress run", "cypress:run": "cypress run",
"open-report": "open http://localhost:8000/coverage/", "open-report": "open http://localhost:8000/coverage/",
"start-open-report": "run-p start open-report", "start-open-report": "run-p start open-report",
"instrument:replace-html": "FRS-replace \"../svgedit-config-es.js\" \"svgedit-config-es.js\" -i instrumented/svg-editor-es.html -o instrumented/svg-editor-es.html", "instrument:replace-html": "frs-replace \"../svgedit-config-es.js\" \"svgedit-config-es.js\" -i instrumented/svg-editor-es.html -o instrumented/svg-editor-es.html",
"instrument:replace-js": "FRS-replace \"editor/svg-editor.js\" \"svg-editor.js\" -i svgedit-config-es.js -o instrumented/svgedit-config-es.js", "instrument:replace-js": "frs-replace \"editor/svg-editor.js\" \"svg-editor.js\" -i svgedit-config-es.js -o instrumented/svgedit-config-es.js",
"instrument:copy-excluded": "node cypress/support/copy.js", "instrument:copy-excluded": "node cypress/support/copy.js",
"copy-instrumented": "copyfiles -e \"**/*.js\" -u 1 \"editor/**/*\" instrumented && npm run instrument:replace-html && npm run instrument:replace-js && npm run instrument:copy-excluded", "copy-instrumented": "copyfiles -e \"**/*.js\" -u 1 \"editor/**/*\" instrumented && npm run instrument:replace-html && npm run instrument:replace-js && npm run instrument:copy-excluded",
"instrument": "rm -Rf instrumented && npx nyc instrument editor instrumented && npm run copy-instrumented", "instrument": "rm -Rf instrumented && npx nyc instrument editor instrumented && npm run copy-instrumented",