Skip to content
This repository was archived by the owner on Jun 15, 2022. It is now read-only.

Commit dcc4ace

Browse files
committed
fix: build before publish
1 parent 013ac67 commit dcc4ace

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
22
"name": "sn-simple-task-editor",
3-
"version": "1.3.10",
3+
"version": "1.3.11",
44
"main": "dist/dist.js",
55
"scripts": {
66
"test": "echo \"Error: no test specified\" && exit 1",
77
"build": "webpack --config webpack.prod.js",
88
"start": "webpack serve --config webpack.dev.js --progress --hot",
99
"lint": "eslint app/ --ext .js",
10-
"lint:fix": "yarn lint --fix"
10+
"lint:fix": "yarn lint --fix",
11+
"prepublishOnly": "npm run build"
1112
},
1213
"sn": {
1314
"main": "dist/index.html"
@@ -39,9 +40,9 @@
3940
"style-loader": "^1.0.1",
4041
"terser-webpack-plugin": "^5.1.1",
4142
"validate-commit-msg": "2.x",
42-
"webpack": "^5.24.4",
43-
"webpack-cli": "^4.5.0",
44-
"webpack-dev-server": "^3.11.2",
45-
"webpack-merge": "^5.7.3"
43+
"webpack": "5.24.4",
44+
"webpack-cli": "4.5.0",
45+
"webpack-dev-server": "3.11.2",
46+
"webpack-merge": "5.7.3"
4647
}
4748
}

0 commit comments

Comments
 (0)