Skip to content

Commit

Permalink
Refactor 'copy' NPM Script
Browse files Browse the repository at this point in the history
  • Loading branch information
evanplaice committed May 11, 2021
1 parent f409bec commit 48835a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
"build": "npm run build:esm && npm run build:min",
"build:esm": "esmtk commonjs src/wc-markdown.js index.js",
"build:min": "esmtk minify src/wc-markdown.js index.min.js",
"copy": "cp -r node_modules/prism-es6/themes themes && cp -r node_modules/prism-es6/components components",
"copy": "npm run copy:themes && npm run copy:components",
"copy:themes": "cp -r node_modules/prism-es6/themes themes",
"copy:components": "cp -r node_modules/prism-es6/components components",
"package": "npx rimraf package && npm pack | tail -n 1 | xargs tar -xf",
"preversion": "npm run lint",
"postversion": "git push --follow-tags"
Expand Down

0 comments on commit 48835a5

Please sign in to comment.