Skip to content

Commit

Permalink
fix: publish
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc committed Nov 24, 2020
1 parent dbc15e0 commit f5f0a29
Show file tree
Hide file tree
Showing 3 changed files with 3,466 additions and 3,173 deletions.
5 changes: 5 additions & 0 deletions .fatherrc-next.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

export default {
platform: 'node',
formats: ['cjs'],
}
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
},
"main": "lib/index.js",
"scripts": {
"build": "umi-tools build",
"test": "umi-tools test --coverage",
"debug": "umi-tools test",
"build": "father-next",
"test": "umi-test --coverage",
"debug": "umi-test",
"lint": "eslint --ext .js src",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"prepack": "npm run build",
"prepublishOnly": "npm run build && np --no-cleanup --yolo --no-publish"
"prepublishOnly": "npm run build && np --no-cleanup --yolo --no-publish --any-branch"
},
"husky": {
"hooks": {
Expand All @@ -36,6 +36,7 @@
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@umijs/test": "^3.2.28",
"babel-core": "^7.0.0-0",
"babel-preset-umi": "^1.0.0",
"coveralls": "^3.0.6",
Expand All @@ -44,13 +45,13 @@
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-prettier": "^3.1.3",
"father-next": "^3.0.0-alpha.3",
"husky": "^4.2.5",
"lint-staged": "^10.2.8",
"material-ui": "^0.20.2",
"np": "^6.2.0",
"prettier": "^2.0.5",
"react-toolbox": "^1.2.5",
"umi-tools": "^0.4.0"
"react-toolbox": "^1.2.5"
},
"babel": {
"presets": [
Expand Down
Loading

0 comments on commit f5f0a29

Please sign in to comment.