@ygyg/yg-cli
Version:
A simple CLI for front-end engineering automation construction tool.
105 lines (104 loc) • 2.9 kB
JSON
{
"name": "@ygyg/yg-cli",
"version": "2.6.0",
"description": "A simple CLI for front-end engineering automation construction tool.",
"preferGlobal": true,
"bin": {
"yg": "bin/yg",
"yg-init": "bin/yg-init",
"yg-dev": "bin/yg-dev",
"yg-start": "bin/yg-start",
"yg-build": "bin/yg-build",
"yg-lint": "bin/yg-lint"
},
"repository": {
"type": "git",
"url": "git+https://github.com/appzk/yg-cli.git"
},
"keywords": [
"yg",
"cli",
"spa"
],
"author": "appzk",
"license": "MIT",
"bugs": {
"url": "https://github.com/appzk/yg-cli/issues"
},
"homepage": "https://github.com/appzk/yg-cli#readme",
"scripts": {
"test": "npm run unit && npm run testlint && npm run e2e",
"testlint": "eslint test/e2e/test*.js lib bin/* --env",
"lint": "eslint --fix **/*.js",
"release": "yg release",
"lint-staged": "lint-staged",
"prepublishOnly": "npm run lint",
"build": "echo \"is buildding\"",
"e2e": "rimraf test/e2e/mock-template-build --slow 1000",
"unit": "jest --config test/unit/jest.conf.js --coverage",
"sync:tnpm": "node -e 'require(\"./scripts/syncCNPM\")()'",
"commit": "git-cz"
},
"dependencies": {
"@ygyg/stylelint-config": "^1.2.0-alpha.0",
"axios": "^0.27.2",
"chalk": "^4.1.0",
"commander": "^6.2.0",
"inquirer": "^8.2.4",
"npm-which": "^3.0.1",
"rc-config-loader": "^3.0.0",
"semantic-release": "^18.0.1",
"standard-version": "^9.3.1"
},
"devDependencies": {
"@babel/core": "^7.7.2",
"@babel/eslint-parser": "^7.12.1",
"@babel/eslint-plugin": "^7.12.1",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@ygyg/eslint-config": "^1.2.0-alpha.0",
"cz-conventional-changelog": "^3.2.0",
"eslint": "^7.16.0",
"eslint-config-airbnb": "^17.0.0",
"eslint-plugin-markdown": "^1.0.0-beta.6",
"eslint-plugin-react": "^7.20.6",
"eslint-plugin-react-hooks": "^1.7.0",
"husky": "^7.0.2",
"lint-staged": "^12.5.0",
"prettier": "1.18.2",
"stylelint": "^14.11.0",
"stylelint-config-css-modules": "^2.2.0",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-standard": "^20.0.0",
"stylelint-declaration-block-no-ignored-properties": "^2.3.0",
"stylelint-order": "^4.1.0"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix --cache --ext .js,.jsx,.ts,.tsx -c .eslintrc.js",
"git add"
],
"yarn.lock": [
"git rm --cached"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"engines": {
"node": ">= 10.0.0",
"npm": ">= 6.0.0"
}
}