File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ Runs the project in development mode.
91
91
92
92
``` bash
93
93
# Step 1, run first, listen to the component compile and output the .js file
94
- npm run ts:watch
94
+ npm run build
95
95
# Step 2, listen for compilation output type .d.ts file
96
96
npm run types:watch
97
97
# Step 3, development mode, listen to compile preview website instance
@@ -101,7 +101,8 @@ npm run doc:dev
101
101
Builds the app for production to the build folder.
102
102
103
103
``` bash
104
- npm run released
104
+ npm run build
105
+ npm run doc
105
106
```
106
107
107
108
The build is minified and the filenames include the hashes.
Original file line number Diff line number Diff line change 6
6
"module" : " esm/index.js" ,
7
7
"scripts" : {
8
8
"prepare" : " npm run build" ,
9
- "released" : " npm run build && npm run doc" ,
10
9
"doc" : " kkt build --app-src ./website" ,
11
10
"start" : " kkt start --app-src ./website" ,
12
11
"css:build" : " compile-less -d src -o esm" ,
13
12
"css:watch" : " compile-less -d src -o esm --watch" ,
14
13
"css:build:dist" : " compile-less -d src --combine w-github-corners.css --rm-global" ,
15
14
"watch" : " tsbb watch" ,
16
- "build" : " tsbb build"
15
+ "build" : " tsbb build && npm run css:build && npm run css:build:dist "
17
16
},
18
17
"homepage" : " https://uiwjs.github.io/react-github-corners" ,
19
18
"repository" : {
You can’t perform that action at this time.
0 commit comments