mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 03:59:01 +08:00
chore: fix npm start in window (#39252)
* Feat: Added instructions for the win environment~ * feat: Use cross-env to set the environment variables
This commit is contained in:
parent
ecd2b7372b
commit
e35c05d32c
@ -86,7 +86,7 @@
|
|||||||
"site": "dumi build && cp .surgeignore _site",
|
"site": "dumi build && cp .surgeignore _site",
|
||||||
"sort": "npx sort-package-json",
|
"sort": "npx sort-package-json",
|
||||||
"sort-api": "antd-tools run sort-api-table",
|
"sort-api": "antd-tools run sort-api-table",
|
||||||
"start": "PORT=8001 dumi dev",
|
"start": "cross-env PORT=8001 dumi dev",
|
||||||
"test": "jest --config .jest.js --cache=false",
|
"test": "jest --config .jest.js --cache=false",
|
||||||
"test:update": "jest --config .jest.js --cache=false -u",
|
"test:update": "jest --config .jest.js --cache=false -u",
|
||||||
"test-all": "sh -e ./scripts/test-all.sh",
|
"test-all": "sh -e ./scripts/test-all.sh",
|
||||||
|
Loading…
Reference in New Issue
Block a user