2022-05-11 10:51:18 +08:00
|
|
|
{
|
|
|
|
"private": true,
|
|
|
|
"name": "pad_stick_doc",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"scripts": {
|
2022-05-11 15:36:24 +08:00
|
|
|
"dev": "dumi dev",
|
2022-05-13 16:43:10 +08:00
|
|
|
"build": "dumi build && ./run.sh",
|
2022-05-11 10:51:18 +08:00
|
|
|
"docs:deploy": "gh-pages -d docs-dist",
|
2022-05-13 16:43:10 +08:00
|
|
|
"build1": "father-build",
|
2022-05-11 10:51:18 +08:00
|
|
|
"deploy": "npm run docs:build && npm run docs:deploy",
|
|
|
|
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
|
|
|
|
"test": "umi-test",
|
|
|
|
"test:coverage": "umi-test --coverage",
|
|
|
|
"prepublishOnly": "npm run build"
|
|
|
|
},
|
|
|
|
"module": "es/index.js",
|
|
|
|
"typings": "es/index.d.ts",
|
|
|
|
"gitHooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.{js,jsx,less,md,json}": [
|
|
|
|
"prettier --write"
|
|
|
|
],
|
|
|
|
"*.ts?(x)": [
|
|
|
|
"prettier --parser=typescript --write"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"react": "^16.12.0 || ^17.0.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@testing-library/jest-dom": "^5.15.1",
|
|
|
|
"@testing-library/react": "^12.1.2",
|
|
|
|
"@types/jest": "^27.0.3",
|
|
|
|
"@umijs/fabric": "^2.8.1",
|
|
|
|
"@umijs/test": "^3.0.5",
|
|
|
|
"dumi": "^1.1.0",
|
|
|
|
"father-build": "^1.17.2",
|
|
|
|
"gh-pages": "^3.0.0",
|
|
|
|
"lint-staged": "^10.0.7",
|
|
|
|
"prettier": "^2.2.1",
|
|
|
|
"yorkie": "^2.0.0"
|
|
|
|
}
|
|
|
|
}
|