Skip to content

Commit c40f020

Browse files
committed
fix: add missing files into npm package.
1 parent fbf7dc2 commit c40f020

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/jsx-analyzer/package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"main": "dist/src/index.js",
66
"types": "dist/src/index.d.ts",
77
"files": [
8-
"dist"
8+
"dist",
9+
"runtime"
910
],
1011
"browser": {
1112
"dist/src/index.js": "./runtime/classnames.js"
@@ -16,6 +17,7 @@
1617
"build-runtime": "tsc -p tsconfig-runtime.json",
1718
"build-buildtime": "rm -rf dist && tsc --jsx preserve -p tsconfig.json",
1819
"build": "npm run build-runtime && npm run build-buildtime",
20+
"prepublish": "npm run build",
1921
"watch": "watch 'npm run test' './src' './test' --wait=3",
2022
"tslint": "tslint --project tsconfig.json --type-check"
2123
},

0 commit comments

Comments
 (0)