|
| 1 | +{ |
| 2 | + "name": "repo-template", |
| 3 | + "version": "0.1.0", |
| 4 | + "description": "Repository template", |
| 5 | + "main": "dist/index.js", |
| 6 | + "types": "dist/index.d.ts", |
| 7 | + "scripts": { |
| 8 | + "build": "tsc", |
| 9 | + "prettier:write": "prettier --write './**/*.{md,json,yaml,js,ts}'", |
| 10 | + "prettier:check": "prettier --list-different './**/*.{md,json,yaml,js,ts}'", |
| 11 | + "eslint": "eslint --ext .ts './src/**/*'", |
| 12 | + "test-spec": "jest", |
| 13 | + "test-cov": "nyc jest", |
| 14 | + "test": "npm run prettier:check && rm -rf dist && npm run build && npm run eslint && npm run test-cov", |
| 15 | + "ci-test": "npm test" |
| 16 | + }, |
| 17 | + "repository": { |
| 18 | + "type": "git", |
| 19 | + "url": "git+ssh://[email protected]/ajv-validator/repo-template.git" |
| 20 | + }, |
| 21 | + "keywords": [], |
| 22 | + "author": "Evgeny Poberezkin", |
| 23 | + "license": "MIT", |
| 24 | + "bugs": { |
| 25 | + "url": "https://github.com/ajv-validator/repo-template/issues" |
| 26 | + }, |
| 27 | + "homepage": "https://github.com/ajv-validator/repo-template#readme", |
| 28 | + "devDependencies": { |
| 29 | + "@ajv-validator/config": "^0.2.3", |
| 30 | + "@types/jest": "^26.0.5", |
| 31 | + "@types/node": "^14.10.1", |
| 32 | + "@typescript-eslint/eslint-plugin": "^3.7.0", |
| 33 | + "@typescript-eslint/parser": "^3.7.0", |
| 34 | + "eslint": "^7.9.0", |
| 35 | + "eslint-config-prettier": "^6.11.0", |
| 36 | + "husky": "^4.3.0", |
| 37 | + "jest": "^26.4.2", |
| 38 | + "lint-staged": "^10.2.11", |
| 39 | + "prettier": "^2.1.2", |
| 40 | + "ts-jest": "^26.1.3", |
| 41 | + "typescript": "^4.0.2" |
| 42 | + }, |
| 43 | + "nyc": { |
| 44 | + "exclude": [ |
| 45 | + "tests", |
| 46 | + "node_modules" |
| 47 | + ], |
| 48 | + "reporter": [ |
| 49 | + "lcov", |
| 50 | + "text-summary" |
| 51 | + ] |
| 52 | + }, |
| 53 | + "prettier": "@ajv-validator/config/prettierrc.json", |
| 54 | + "husky": { |
| 55 | + "hooks": { |
| 56 | + "pre-commit": "lint-staged && npm test" |
| 57 | + } |
| 58 | + }, |
| 59 | + "lint-staged": { |
| 60 | + "*.{md,json,yaml,js,ts}": "prettier --write" |
| 61 | + }, |
| 62 | + "dependencies": { |
| 63 | + "nyc": "^15.1.0" |
| 64 | + } |
| 65 | +} |
0 commit comments