support Access-Control-Allow-Headers (#4576)
* support Access-Control-Allow-Headers * add magic code * add magic code * add magic!!!! code * try auto publish * new plugin * update script * use fetch-blocks package * add env * add fetch-blocks package * fix ci error * fix lint error * delete extra comments * use https://ant-design-pro.netlify.com
Showing
CNAME
0 → 100644
... | ... | @@ -6,6 +6,7 @@ |
"scripts": { | ||
"analyze": "cross-env ANALYZE=1 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-prod:build": "docker-compose -f ./docker/docker-compose.yml build", | ||
"docker-prod:dev": "docker-compose -f ./docker/docker-compose.yml up", | ||
... | ... | @@ -13,10 +14,11 @@ |
"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: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}'", | ||
"functions:build": "netlify-lambda build ./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-staged": "lint-staged", | ||
"lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx ", | ||
... | ... | @@ -25,7 +27,7 @@ |
"lint:prettier": "check-prettier lint", | ||
"lint:style": "stylelint --fix \"src/**/*.less\" --syntax less", | ||
"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:no-mock": "cross-env MOCK=none umi dev", | ||
"test": "umi test", | ||
... | ... | @@ -75,7 +77,6 @@ |
"react-media-hook2": "^1.0.5", | ||
"redux": "^4.0.1", | ||
"umi": "^2.7.2", | ||
"umi-plugin-ga": "^1.1.3", | ||
"umi-plugin-pro-block": "^1.3.2", | ||
"umi-plugin-react": "^1.8.2", | ||
"umi-request": "^1.0.7" | ||
... | ... | @@ -99,6 +100,7 @@ |
"enzyme": "^3.9.0", | ||
"eslint": "^5.16.0", | ||
"express": "^4.17.1", | ||
"fetch-blocks": "^1.0.0", | ||
"gh-pages": "^2.0.1", | ||
"husky": "^2.3.0", | ||
"import-sort-cli": "^6.0.0", | ||
... | ... | @@ -115,6 +117,8 @@ |
"serverless-http": "^2.0.2", | ||
"slash2": "^2.0.0", | ||
"stylelint": "^10.1.0", | ||
"umi-plugin-ga": "^1.1.3", | ||
"umi-plugin-pro": "^1.0.2", | ||
"umi-types": "^0.3.8", | ||
"webpack-theme-color-replacer": "^1.1.5" | ||
}, | ||
... | ... |
Please register or sign in to comment