Skip to content

Commit c6c0670

Browse files
committedAug 29, 2021
chore: update scripts feild in package.json
1 parent 023088e commit c6c0670

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Runs the project in development mode.
9191

9292
```bash
9393
# Step 1, run first, listen to the component compile and output the .js file
94-
npm run ts:watch
94+
npm run build
9595
# Step 2, listen for compilation output type .d.ts file
9696
npm run types:watch
9797
# Step 3, development mode, listen to compile preview website instance
@@ -101,7 +101,8 @@ npm run doc:dev
101101
Builds the app for production to the build folder.
102102

103103
```bash
104-
npm run released
104+
npm run build
105+
npm run doc
105106
```
106107

107108
The build is minified and the filenames include the hashes.

‎package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,13 @@
66
"module": "esm/index.js",
77
"scripts": {
88
"prepare": "npm run build",
9-
"released": "npm run build && npm run doc",
109
"doc": "kkt build --app-src ./website",
1110
"start": "kkt start --app-src ./website",
1211
"css:build": "compile-less -d src -o esm",
1312
"css:watch": "compile-less -d src -o esm --watch",
1413
"css:build:dist": "compile-less -d src --combine w-github-corners.css --rm-global",
1514
"watch": "tsbb watch",
16-
"build": "tsbb build"
15+
"build": "tsbb build && npm run css:build && npm run css:build:dist"
1716
},
1817
"homepage": "https://uiwjs.github.io/react-github-corners",
1918
"repository": {

0 commit comments

Comments
 (0)
Please sign in to comment.