|
1 | 1 | { |
2 | | - "name": "nest-automapper", |
3 | | - "version": "0.1.0", |
| 2 | + "name": "nestjsx-automapper", |
| 3 | + "version": "0.0.0-development", |
4 | 4 | "license": "MIT", |
5 | 5 | "author": "Chau Tran", |
6 | 6 | "main": "dist/index.js", |
|
9 | 9 | "files": [ |
10 | 10 | "dist" |
11 | 11 | ], |
| 12 | + "keywords": [ |
| 13 | + "nestjs", |
| 14 | + "automapper", |
| 15 | + "typescript" |
| 16 | + ], |
| 17 | + "repository": { |
| 18 | + "type": "git", |
| 19 | + "url": "https://github.com/nestjsx/automapper.git" |
| 20 | + }, |
| 21 | + "engines": { |
| 22 | + "node": ">=8.0.0" |
| 23 | + }, |
12 | 24 | "scripts": { |
13 | 25 | "start": "tsdx watch", |
14 | 26 | "build": "tsdx build", |
15 | | - "test": "tsdx test", |
16 | | - "lint": "tsdx lint" |
| 27 | + "build:docs": "typedoc --out docs --target es6 --theme minimal --mode file src", |
| 28 | + "test": "tsdx test --no-cache", |
| 29 | + "test:cov": "tsdx test --coverage", |
| 30 | + "lint": "tsdx lint src && lint-staged", |
| 31 | + "commit": "git-cz", |
| 32 | + "semantic-release": "semantic-release", |
| 33 | + "deploy-docs": "ts-node tools/gh-pages", |
| 34 | + "report-coverage": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage" |
17 | 35 | }, |
18 | | - "peerDependencies": {}, |
19 | 36 | "husky": { |
20 | 37 | "hooks": { |
21 | | - "pre-commit": "tsdx lint" |
| 38 | + "pre-commit": "npm run test && git add . && npm run lint" |
22 | 39 | } |
23 | 40 | }, |
24 | 41 | "prettier": { |
|
27 | 44 | "singleQuote": true, |
28 | 45 | "trailingComma": "es5" |
29 | 46 | }, |
| 47 | + "commitlint": { |
| 48 | + "extends": [ |
| 49 | + "@commitlint/config-conventional" |
| 50 | + ] |
| 51 | + }, |
| 52 | + "config": { |
| 53 | + "commitizen": { |
| 54 | + "path": "node_modules/cz-conventional-changelog" |
| 55 | + } |
| 56 | + }, |
| 57 | + "lint-staged": { |
| 58 | + "{src}/**/*.ts": [ |
| 59 | + "prettier --write", |
| 60 | + "git add" |
| 61 | + ] |
| 62 | + }, |
| 63 | + "publishConfig": { |
| 64 | + "access": "public" |
| 65 | + }, |
| 66 | + "jest": { |
| 67 | + "transform": { |
| 68 | + ".(ts|tsx)": "ts-jest" |
| 69 | + }, |
| 70 | + "testEnvironment": "node", |
| 71 | + "moduleFileExtensions": [ |
| 72 | + "ts", |
| 73 | + "tsx", |
| 74 | + "js" |
| 75 | + ], |
| 76 | + "coveragePathIgnorePatterns": [ |
| 77 | + "/node_modules/", |
| 78 | + "/test/" |
| 79 | + ], |
| 80 | + "collectCoverageFrom": [ |
| 81 | + "src/automapper.{js,ts}" |
| 82 | + ] |
| 83 | + }, |
30 | 84 | "devDependencies": { |
31 | | - "@types/jest": "^24.0.21", |
32 | | - "husky": "^3.0.9", |
33 | | - "tsdx": "^0.11.0", |
34 | | - "tslib": "^1.10.0", |
35 | | - "typescript": "^3.6.4" |
| 85 | + "@commitlint/cli": "8.2.0", |
| 86 | + "@commitlint/config-conventional": "8.2.0", |
| 87 | + "@nestjs/common": "6.8.5", |
| 88 | + "@nestjs/core": "6.8.5", |
| 89 | + "@nestjs/testing": "6.8.5", |
| 90 | + "@types/jest": "24.0.21", |
| 91 | + "commitizen": "4.0.3", |
| 92 | + "coveralls": "3.0.7", |
| 93 | + "cz-conventional-changelog": "3.0.2", |
| 94 | + "husky": "3.0.9", |
| 95 | + "lint-staged": "9.4.2", |
| 96 | + "prettier": "1.18.2", |
| 97 | + "reflect-metadata": "0.1.13", |
| 98 | + "semantic-release": "^15.13.30", |
| 99 | + "shelljs": "0.8.3", |
| 100 | + "ts-node": "8.4.1", |
| 101 | + "tsdx": "0.11.0", |
| 102 | + "tslib": "1.10.0", |
| 103 | + "typedoc": "0.15.0", |
| 104 | + "typescript": "3.7.2" |
| 105 | + }, |
| 106 | + "dependencies": { |
| 107 | + "@nartc/automapper": "^1.1.8" |
| 108 | + }, |
| 109 | + "peerDependencies": { |
| 110 | + "@nestjs/common": "~6.8.5", |
| 111 | + "reflect-metadata": "~0.1.13" |
36 | 112 | } |
37 | 113 | } |
0 commit comments