Skip to content

Commit 4356647

Browse files
committed
update: www
1 parent 264fc30 commit 4356647

23 files changed

+6575
-1390741
lines changed

example/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"license": "MIT",
66
"scripts": {
77
"start": "parcel index.html",
8-
"build": "parcel build index.html --no-minify --out-dir ../www --public-url ./"
8+
"build": "parcel build index.html --no-minify --no-source-maps --out-dir ../www --public-url ./"
99
},
1010
"dependencies": {
1111
"react-app-polyfill": "^1.0.0",

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
"lint": "tsdx lint",
1818
"prepare": "tsdx build",
1919
"size": "size-limit",
20-
"analyze": "size-limit --why"
20+
"analyze": "size-limit --why",
21+
"predeploy": "cd example && yarn install && yarn build",
22+
"deploy": "gh-pages -d www"
2123
},
2224
"peerDependencies": {
2325
"react": ">=16"
@@ -48,6 +50,7 @@
4850
],
4951
"devDependencies": {
5052
"@size-limit/preset-small-lib": "^8.0.1",
53+
"gh-pages": "^5.0.0",
5154
"@types/lodash.clonedeep": "^4.5.7",
5255
"@types/react": "^18.0.18",
5356
"@types/react-dom": "^18.0.6",

0 commit comments

Comments
 (0)