nikogu 9 years ago
parent
commit
5349737cd1
  1. 4
      package.json

4
package.json

@ -2,12 +2,12 @@
"name": "ant-design-pro", "name": "ant-design-pro",
"private": true, "private": true,
"scripts": { "scripts": {
"precommit": "npm run lint",
"start": "roadhog server", "start": "roadhog server",
"build": "roadhog build", "build": "roadhog build",
"site": "roadhog-api-doc static",
"lint:style": "stylelint \"src/**/*.less\" --syntax less", "lint:style": "stylelint \"src/**/*.less\" --syntax less",
"lint": "eslint --ext .js src mock tests && npm run lint:style", "lint": "eslint --ext .js src mock tests && npm run lint:style",
"precommit": "npm run lint",
"site": "roadhog-api-doc static",
"test": "jest", "test": "jest",
"test:all": "node ./tests/run-tests.js" "test:all": "node ./tests/run-tests.js"
}, },

Loading…
Cancel
Save