mirror of
https://github.com/zhigang1992/docz.git
synced 2026-04-28 09:26:27 +08:00
chore: add some improvements
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
"dependencies": {
|
||||
"emotion": "^9.1.1",
|
||||
"playgrodd": "^0.0.1",
|
||||
"playgrodd-theme-default": "^0.0.1",
|
||||
"prop-types": "^15.6.1",
|
||||
"react": "^16.3.1",
|
||||
"react-dom": "^16.3.1",
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
"bs": "lerna bootstrap"
|
||||
},
|
||||
"devDependencies": {
|
||||
"del": "^3.0.0",
|
||||
"lerna": "^2.10.1",
|
||||
"libundler": "^1.5.1",
|
||||
"npm-run-all": "^4.1.2",
|
||||
|
||||
@@ -9,7 +9,10 @@
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"dev": "libundler watch --ts",
|
||||
"build": "libundler build --ts --compress --sourcemap"
|
||||
"build": "libundler build --ts --compress --sourcemap",
|
||||
"fix": "run-s fix:*",
|
||||
"fix:prettier": "prettier \"src/**/*.{ts,tsx}\" --write",
|
||||
"fix:tslint": "tslint --fix --project ."
|
||||
},
|
||||
"dependencies": {
|
||||
"find-up": "^2.1.0",
|
||||
@@ -17,6 +20,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/find-up": "^2.1.1",
|
||||
"@types/deepmerge": "^2.1.0",
|
||||
"@types/node": "9.6.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,10 +17,13 @@ yargs
|
||||
type: 'number',
|
||||
default: 3000,
|
||||
})
|
||||
yargs.positional('theme', {
|
||||
type: 'string',
|
||||
default: 'default',
|
||||
})
|
||||
yargs.positional('bundler', {
|
||||
type: 'string',
|
||||
default: 'webpack',
|
||||
describe: 'bundler to use',
|
||||
})
|
||||
},
|
||||
argv => new Server(argv).start()
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"playgrodd-core": "^0.0.1",
|
||||
"playgrodd-bundler-webpack": "^0.0.1",
|
||||
"playgrodd-theme-default": "^0.0.1",
|
||||
"prop-types": "^15.6.1",
|
||||
"react": "^16.3.1",
|
||||
"react-dom": "^16.3.1",
|
||||
@@ -27,8 +29,8 @@
|
||||
"yargs": "^11.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^16.2.0",
|
||||
"react-dom": "^16.2.0"
|
||||
"react": "^16.3.1",
|
||||
"react-dom": "^16.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^9.6.4",
|
||||
|
||||
Reference in New Issue
Block a user