sync antd design pro from github
Showing
CNAME
0 → 100644
... | @@ -6,6 +6,7 @@ | ... | @@ -6,6 +6,7 @@ |
"scripts": { | "scripts": { | ||
"analyze": "cross-env ANALYZE=1 umi build", | "analyze": "cross-env ANALYZE=1 umi build", | ||
"build": "umi build", | "build": "umi build", | ||
"deploy": "cross-env ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION=site npm run site && npm run gh-pages", | |||
"docker-hub:build": "docker build -f Dockerfile.hub -t ant-design-pro ./", | "docker-hub:build": "docker build -f Dockerfile.hub -t ant-design-pro ./", | ||
"docker-prod:build": "docker-compose -f ./docker/docker-compose.yml build", | "docker-prod:build": "docker-compose -f ./docker/docker-compose.yml build", | ||
"docker-prod:dev": "docker-compose -f ./docker/docker-compose.yml up", | "docker-prod:dev": "docker-compose -f ./docker/docker-compose.yml up", | ||
... | @@ -13,10 +14,11 @@ | ... | @@ -13,10 +14,11 @@ |
"docker:dev": "docker-compose -f ./docker/docker-compose.dev.yml up", | "docker:dev": "docker-compose -f ./docker/docker-compose.dev.yml up", | ||
"docker:push": "npm run docker-hub:build && npm run docker:tag && docker push antdesign/ant-design-pro", | "docker:push": "npm run docker-hub:build && npm run docker:tag && docker push antdesign/ant-design-pro", | ||
"docker:tag": "docker tag ant-design-pro antdesign/ant-design-pro", | "docker:tag": "docker tag ant-design-pro antdesign/ant-design-pro", | ||
"fetch:blocks": "node ./scripts/fetch-blocks.js", | "fetch:blocks": "fetch-blocks", | ||
"format-imports": "import-sort --write '**/*.{js,jsx,ts,tsx}'", | "format-imports": "import-sort --write '**/*.{js,jsx,ts,tsx}'", | ||
"functions:build": "netlify-lambda build ./lambda", | "functions:build": "netlify-lambda build ./lambda", | ||
"functions:run": "cross-env NODE_ENV=dev netlify-lambda serve ./lambda", | "functions:run": "cross-env NODE_ENV=dev netlify-lambda serve ./lambda", | ||
"gh-pages": "cp CNAME ./dist/ && gh-pages -d dist", | |||
"lint": "npm run lint:js && npm run lint:style && npm run lint:prettier", | "lint": "npm run lint:js && npm run lint:style && npm run lint:prettier", | ||
"lint-staged": "lint-staged", | "lint-staged": "lint-staged", | ||
"lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx ", | "lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx ", | ||
... | @@ -25,7 +27,7 @@ | ... | @@ -25,7 +27,7 @@ |
"lint:prettier": "check-prettier lint", | "lint:prettier": "check-prettier lint", | ||
"lint:style": "stylelint --fix \"src/**/*.less\" --syntax less", | "lint:style": "stylelint --fix \"src/**/*.less\" --syntax less", | ||
"prettier": "prettier -c --write **/*", | "prettier": "prettier -c --write **/*", | ||
"site": "npm run fetch:blocks && npm run functions:build && umi build", | "site": "npm run fetch:blocks && npm run build && npm run functions:build", | ||
"start": "umi dev", | "start": "umi dev", | ||
"start:no-mock": "cross-env MOCK=none umi dev", | "start:no-mock": "cross-env MOCK=none umi dev", | ||
"test": "umi test", | "test": "umi test", | ||
... | @@ -114,6 +116,7 @@ | ... | @@ -114,6 +116,7 @@ |
"enzyme": "^3.9.0", | "enzyme": "^3.9.0", | ||
"eslint": "^5.16.0", | "eslint": "^5.16.0", | ||
"express": "^4.17.1", | "express": "^4.17.1", | ||
"fetch-blocks": "^1.0.0", | |||
"gh-pages": "^2.0.1", | "gh-pages": "^2.0.1", | ||
"husky": "^2.3.0", | "husky": "^2.3.0", | ||
"import-sort-cli": "^6.0.0", | "import-sort-cli": "^6.0.0", | ||
... | @@ -129,7 +132,10 @@ | ... | @@ -129,7 +132,10 @@ |
"serverless-http": "^2.0.2", | "serverless-http": "^2.0.2", | ||
"slash2": "^2.0.0", | "slash2": "^2.0.0", | ||
"stylelint": "^10.1.0", | "stylelint": "^10.1.0", | ||
"webpack-theme-color-replacer": "^1.1.5", | "umi-plugin-ga": "^1.1.3", | ||
"umi-plugin-pro": "^1.0.2", | |||
"umi-types": "^0.3.8", | |||
"webpack-theme-color-replacer": "^1.2.15", | |||
"mockjs": "^1.0.1-beta3", | "mockjs": "^1.0.1-beta3", | ||
"eslint-import-resolver-alias": "^1.1.2" | "eslint-import-resolver-alias": "^1.1.2" | ||
}, | }, | ||
... | ... |
Please register or sign in to comment