Browse Source

chore: fix npm start in window (#39252)

* Feat: Added instructions for the win environment~

* feat: Use cross-env to set the environment variables
pull/39254/head
littleforest 2 years ago
committed by GitHub
parent
commit
e35c05d32c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      package.json

2
package.json

@ -86,7 +86,7 @@
"site": "dumi build && cp .surgeignore _site",
"sort": "npx sort-package-json",
"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:update": "jest --config .jest.js --cache=false -u",
"test-all": "sh -e ./scripts/test-all.sh",

Loading…
Cancel
Save