Skip to content

Commit 98d28cf

Browse files
committed
chore: Fix less script
1 parent c15aa2d commit 98d28cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"scripts": {
3333
"start": "cross-env NODE_ENV=development father doc dev --storybook",
3434
"build": "father doc build --storybook",
35-
"compile": "father build && less assets/index.less assets/index.css",
35+
"compile": "father build && lessc assets/index.less assets/index.css",
3636
"prepublishOnly": "npm run compile && np --yolo --no-publish",
3737
"lint": "eslint src/ examples/ --ext .tsx,.ts,.jsx,.js",
3838
"test": "father test",
@@ -51,6 +51,7 @@
5151
"enzyme-to-json": "^3.4.0",
5252
"eslint": "^7.0.0",
5353
"father": "^2.30.2",
54+
"less": "^3.10.3",
5455
"np": "^6.2.0",
5556
"react": "^16.0.0",
5657
"react-dom": "^16.0.0",

0 commit comments

Comments
 (0)