| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- {
- "name": "ant-design-pro",
- "private": true,
- "scripts": {
- "precommit": "npm run lint-staged",
- "start": "roadhog server",
- "start:no-proxy": "NO_PROXY=true roadhog server",
- "build": "roadhog build",
- "site": "roadhog-api-doc static",
- "lint:style": "stylelint \"src/**/*.less\" --syntax less",
- "lint": "eslint --ext .js src mock tests && npm run lint:style",
- "lint:fix": "eslint --fix --ext .js src mock tests && npm run lint:style",
- "lint-staged": "lint-staged",
- "lint-staged:js": "eslint --ext .js",
- "test": "jest",
- "test:all": "node ./tests/run-tests.js"
- },
- "dependencies": {
- "antd": "next",
- "dva": "^1.2.1",
- "lodash": "^4.17.4",
- "numeral": "^2.0.6",
- "prop-types": "^15.5.10",
- "qs": "^6.5.0",
- "react": "^15.6.2",
- "react-document-title": "^2.0.3",
- "react-dom": "^15.6.2"
- },
- "devDependencies": {
- "babel-eslint": "^8.0.1",
- "babel-jest": "^21.0.0",
- "babel-plugin-dva-hmr": "^0.3.2",
- "babel-plugin-import": "^1.2.1",
- "babel-plugin-transform-decorators-legacy": "^1.3.4",
- "babel-plugin-transform-runtime": "^6.9.0",
- "babel-runtime": "^6.9.2",
- "cross-port-killer": "^1.0.1",
- "enzyme": "^3.1.0",
- "enzyme-adapter-react-15": "^1.0.2",
- "eslint": "^4.8.0",
- "eslint-config-airbnb": "^16.0.0",
- "eslint-plugin-babel": "^4.0.0",
- "eslint-plugin-import": "^2.2.0",
- "eslint-plugin-jsx-a11y": "^6.0.0",
- "eslint-plugin-markdown": "^1.0.0-beta.6",
- "eslint-plugin-react": "^7.0.1",
- "gh-pages": "^1.0.0",
- "husky": "^0.14.3",
- "jest": "^21.0.1",
- "lint-staged": "^4.3.0",
- "mockjs": "^1.0.1-beta3",
- "nightmare": "^2.10.0",
- "react-test-renderer": "^15.6.2",
- "redbox-react": "^1.3.2",
- "roadhog": "^1.0.2",
- "roadhog-api-doc": "^0.1.8",
- "stylelint": "^8.1.0",
- "stylelint-config-standard": "^17.0.0"
- },
- "babel": {
- "presets": [
- "es2015",
- "stage-0",
- "react"
- ],
- "plugins": [
- "transform-decorators-legacy"
- ]
- },
- "jest": {
- "setupFiles": [
- "<rootDir>/tests/setupTests.js"
- ],
- "testMatch": [
- "**/?(*.)(spec|test|e2e).js?(x)"
- ],
- "setupTestFrameworkScriptFile": "<rootDir>/tests/jasmine.js",
- "moduleFileExtensions": [
- "js",
- "jsx"
- ],
- "moduleNameMapper": {
- "\\.(css|less)$": "<rootDir>/tests/styleMock.js"
- }
- },
- "lint-staged": {
- "**/*.{js,jsx}": "lint-staged:js",
- "**/*.less": "stylelint --syntax less",
- "src/**/demo/*.md": "lint-staged:demo"
- }
- }
|