- Lower-case `FRS-replace`
parent
1930d01007
commit
1212c76e2f
|
@ -31,8 +31,8 @@
|
|||
"cypress:run": "cypress run",
|
||||
"open-report": "open http://localhost:8000/coverage/",
|
||||
"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-js": "FRS-replace \"editor/svg-editor.js\" \"svg-editor.js\" -i svgedit-config-es.js -o instrumented/svgedit-config-es.js",
|
||||
"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: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",
|
||||
"instrument": "rm -Rf instrumented && npx nyc instrument editor instrumented && npm run copy-instrumented",
|
||||
|
|
Loading…
Reference in New Issue