Skip to content

Commit 2be8b9c

Browse files
authored
Merge pull request shubhamjain#41 from victorlacorte/separate-dev-dependencies
Separate dev dependencies
2 parents d3562fc + a3deb0f commit 2be8b9c

File tree

4 files changed

+97
-9
lines changed

4 files changed

+97
-9
lines changed

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ jobs:
2323
- name: publish
2424
run: |
2525
yarn
26+
yarn build
2627
yarn publish
2728
if: ${{ steps.vars.outputs.latest_version != steps.vars.outputs.package_version }}
2829
env:
29-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
30+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@
99
"url": "https://github.com/shubhamjain/svg-loader.git"
1010
},
1111
"main": "dist/svg-loader.min.js",
12-
"version": "1.6.9",
12+
"version": "1.6.10",
1313
"scripts": {
14-
"postinstall": "npm-run-all build:*",
1514
"build:js": "cross-env NODE_ENV=production webpack build",
1615
"build:cp": "npx cpr ./dist/svg-loader.min.js ./svg-loader.min.js --overwrite",
1716
"build": "npm-run-all build:*",
@@ -21,15 +20,15 @@
2120
"prepare": "husky install"
2221
},
2322
"devDependencies": {
24-
"http-server": "^14.0.0",
25-
"husky": "^8.0.3"
26-
},
27-
"dependencies": {
2823
"cpr":"^3.0.1",
2924
"cross-env": "^7.0.3",
30-
"idb-keyval": "^6.2.0",
25+
"http-server": "^14.0.0",
26+
"husky": "^8.0.3",
3127
"npm-run-all": "^4.1.5",
3228
"webpack": "^5.72.0",
3329
"webpack-cli": "^4.9.2"
30+
},
31+
"dependencies": {
32+
"idb-keyval": "^6.2.0"
3433
}
3534
}

svg-loader.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)