nicenote/package.json

67 lines
1.7 KiB
JSON

{
"private": true,
"name": "learn-note",
"version": "1.0.0",
"scripts": {
"start": "dumi dev",
"docs:build": "dumi build",
"docs:deploy": "gh-pages -d docs-dist",
"build": "father-build",
"deploy": "npm run docs:build && npm run docs:deploy",
"release": "npm run build && npm publish",
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
"test": "umi-test",
"test:coverage": "umi-test --coverage",
"cz": "git add . && git cz",
"log": "conventional-changelog -n node_modules/@nicecode/changelog -i CHANGELOG.md -s -r 0"
},
"main": "dist/index.js",
"module": "dist/index.esm.js",
"typings": "dist/index.d.ts",
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"config": {
"commitizen": {
"path": "@nicecode/commit"
}
},
"lint-staged": {
"*.{js,jsx,less,md,json}": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"repository": {
"type": "git",
"url": "https://github.com/j710328466/j710328466.github.io",
"branch": "master",
"platform": "github"
},
"dependencies": {
"@nicecode/css": "^0.0.8",
"react": "^16.12.0"
},
"devDependencies": {
"@nicecode/changelog": "^0.2.0",
"@nicecode/commit": "^0.0.12",
"@nicecode/commit-lint": "^0.1.2",
"@umijs/test": "^3.0.5",
"commitizen": "^4.2.4",
"commitlint": "^13.1.0",
"conventional-changelog-cli": "^2.1.1",
"dumi": "^1.0.16",
"father-build": "^1.17.2",
"gh-pages": "^3.0.0",
"husky": "^7.0.4",
"lint-staged": "^10.0.7",
"prettier": "^2.2.1",
"yorkie": "^2.0.0"
}
}