Skip to content

Commit 487403c

Browse files
committed
Added release hooks
1 parent 694f957 commit 487403c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
],
1313
"main": "dist/index.cjs.js",
1414
"module": "dist/index.esm.js",
15+
"files": ["dist"],
1516
"dependencies": {},
1617
"peerDependencies": {
1718
"react": ">16.8.0",
@@ -69,6 +70,13 @@
6970
"format": "prettier --write \"**/*.{js,jsx,json,mdx}\"",
7071
"test": "jest src"
7172
},
73+
"hooks": {
74+
"before:init": [
75+
"npm run lint",
76+
"npm run test",
77+
"npm run build:lib"
78+
]
79+
},
7280
"repository": {
7381
"type": "git",
7482
"url": "https://github.com/Steveeeie/react-css-3d"

0 commit comments

Comments
 (0)