|
| 1 | +{ |
| 2 | + "name": "tencent-component-monitor", |
| 3 | + "version": "0.0.1", |
| 4 | + "description": "Tencent component monitor", |
| 5 | + "main": "src/index.js", |
| 6 | + "scripts": { |
| 7 | + "test": "npm run lint && npm run prettier", |
| 8 | + "commitlint": "commitlint -f HEAD@{15}", |
| 9 | + "lint": "eslint --ext .js,.ts,.tsx .", |
| 10 | + "lint:fix": "eslint --fix --ext .js,.ts,.tsx .", |
| 11 | + "prettier": "prettier --check **/*.{css,html,js,json,md,yaml,yml}", |
| 12 | + "prettier:fix": "prettier --write **/*.{css,html,js,json,md,yaml,yml}", |
| 13 | + "release": "semantic-release", |
| 14 | + "release-local": "node -r dotenv/config node_modules/semantic-release/bin/semantic-release --no-ci --dry-run", |
| 15 | + "check-dependencies": "npx npm-check --skip-unused --update" |
| 16 | + }, |
| 17 | + "engines": { |
| 18 | + "node": ">=10.18" |
| 19 | + }, |
| 20 | + "husky": { |
| 21 | + "hooks": { |
| 22 | + "pre-commit": "lint-staged", |
| 23 | + "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", |
| 24 | + "pre-push": "npm run lint:fix && npm run prettier:fix" |
| 25 | + } |
| 26 | + }, |
| 27 | + "lint-staged": { |
| 28 | + "**/*.{js,ts,tsx}": [ |
| 29 | + "npm run lint:fix", |
| 30 | + "git add ." |
| 31 | + ], |
| 32 | + "**/*.{css,html,js,json,md,yaml,yml}": [ |
| 33 | + "npm run prettier:fix", |
| 34 | + "git add ." |
| 35 | + ] |
| 36 | + }, |
| 37 | + "repository": { |
| 38 | + "type": "git", |
| 39 | + "url": "git+https://github.com/serverless-tencent/tencent-component-toolkit.git" |
| 40 | + }, |
| 41 | + "keywords": [ |
| 42 | + "template", |
| 43 | + "release", |
| 44 | + "ci" |
| 45 | + ], |
| 46 | + "author": "Tencent Cloud Inc.", |
| 47 | + "license": "MIT", |
| 48 | + "bugs": { |
| 49 | + "url": "https://github.com/serverless-tencent/tencent-component-toolkit/issues" |
| 50 | + }, |
| 51 | + "homepage": "https://github.com/serverless-tencent/tencent-component-toolkit#readme", |
| 52 | + "devDependencies": { |
| 53 | + "@commitlint/cli": "^8.3.5", |
| 54 | + "@commitlint/config-conventional": "^8.3.4", |
| 55 | + "@semantic-release/changelog": "^5.0.0", |
| 56 | + "@semantic-release/commit-analyzer": "^8.0.1", |
| 57 | + "@semantic-release/git": "^9.0.0", |
| 58 | + "@semantic-release/npm": "^7.0.4", |
| 59 | + "@semantic-release/release-notes-generator": "^9.0.1", |
| 60 | + "babel-eslint": "^10.1.0", |
| 61 | + "dotenv": "^8.2.0", |
| 62 | + "eslint": "^6.8.0", |
| 63 | + "eslint-config-prettier": "^6.10.0", |
| 64 | + "eslint-plugin-import": "^2.20.1", |
| 65 | + "eslint-plugin-prettier": "^3.1.2", |
| 66 | + "husky": "^4.2.3", |
| 67 | + "lint-staged": "^10.0.8", |
| 68 | + "prettier": "^1.19.1", |
| 69 | + "semantic-release": "^17.0.4" |
| 70 | + }, |
| 71 | + "dependencies": { |
| 72 | + "@tencent-sdk/capi": "0.2.15" |
| 73 | + } |
| 74 | +} |
0 commit comments