Skip to content

Commit 6da0d83

Browse files
committed
Added some fields to final package.json
1 parent c1c4602 commit 6da0d83

File tree

3 files changed

+38
-26
lines changed

3 files changed

+38
-26
lines changed

package-lock.json

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"version": "1.0.0",
3-
"license": "MIT",
43
"babel": {
54
"presets": [
65
"jaid"
@@ -20,13 +19,14 @@
2019
"jest": "24.0.0-alpha.12",
2120
"webpack": "^4.28.4",
2221
"webpack-cli": "^3.2.1",
23-
"webpack-config-jaid": "1.9.0"
22+
"webpack-config-jaid": "1.10.0"
2423
},
2524
"scripts": {
2625
"build:prod": "cross-env NODE_ENV=production webpack",
27-
"build:dev": "cross-env webpack",
26+
"build:dev": "webpack",
2827
"test": "npm run build:prod && jest",
2928
"test:dev": "npm run build:dev && jest",
30-
"prepublishOnly": "npm run build:prod"
29+
"prepublishOnly": "npm run build:prod",
30+
"prepare": "jest --clearCache"
3131
}
32-
}
32+
}

webpack.config.babel.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,16 @@ import webpackConfigJaid from "webpack-config-jaid"
22

33
export default webpackConfigJaid({
44
type: "lib",
5+
publishimo: {
6+
publishimoOptions: {
7+
config: {
8+
author: {
9+
name: "Jaid",
10+
email: "jaid.jsx@gmail.com",
11+
github: true,
12+
},
13+
license: "MIT",
14+
},
15+
},
16+
},
517
})

0 commit comments

Comments
 (0)