nestx-schematics
Version:
another schematic collection with different style-set of official nestjs/nest
140 lines (139 loc) • 3.57 kB
JSON
{
"name": "nestx-schematics",
"version": "1.0.53",
"description": "another schematic collection with different style-set of official nestjs/nest",
"main": "dist/index.js",
"repository": "git@github.com:nest-x/nestx-schematics.git",
"author": "Aquariuslt <superaquariuslt@gmail.com>",
"license": "MIT",
"keywords": [
"nestjs",
"nestjs-schematics",
"nestjs-template"
],
"files": [
"dist",
"index.ts"
],
"scripts": {
"copy:collection": "cpx src/collection.json dist && cpx 'src/lib/**/schema.json' dist/lib",
"copy:lib": "cpx 'src/lib/**/{files,workspace}/**/*.*' dist/lib && cpx 'src/lib/**/{files,workspace}/**/.*' dist/lib",
"prebuild": "rimraf dist",
"build": "tsc --project tsconfig.lib.json",
"postbuild": "yarn run copy:collection && yarn run copy:lib",
"test": "jest",
"test:cov": "jest --coverage",
"release": "semantic-release"
},
"schematics": "./dist/collection.json",
"dependencies": {
"@angular-devkit/core": "^12.0.0",
"@angular-devkit/schematics": "^12.0.0",
"@nestjs/schematics": "^8.0.0",
"fs-extra": "^10.0.0"
},
"devDependencies": {
"@commitlint/cli": "16.2.1",
"@commitlint/config-conventional": "16.2.1",
"@semantic-release/changelog": "5.0.1",
"@semantic-release/exec": "5.0.0",
"@semantic-release/git": "9.0.1",
"@semantic-release/npm": "7.1.3",
"@types/jest": "27.4.1",
"@types/node": "16.11.26",
"@typescript-eslint/eslint-plugin": "5.13.0",
"@typescript-eslint/parser": "5.13.0",
"cpx": "1.5.0",
"eslint": "8.10.0",
"eslint-config-prettier": "8.4.0",
"eslint-plugin-prettier": "4.0.0",
"husky": "7.0.4",
"jest": "26.6.3",
"prettier": "2.5.1",
"pretty-quick": "3.1.3",
"rimraf": "3.0.2",
"rxjs": "7.5.4",
"semantic-release": "17.4.7",
"ts-jest": "26.5.6",
"ts-node": "10.5.0",
"tsconfig-paths": "3.12.0",
"typescript": "4.6.2"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"header-max-length": [
2,
"always",
100
],
"type-enum": [
2,
"always",
[
"chore",
"feat",
"fix",
"docs",
"style",
"refactor",
"test",
"ci",
"perf",
"revert"
]
]
}
},
"jest": {
"moduleFileExtensions": [
"ts",
"js",
"json"
],
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"<rootDir>/src/**/*.ts",
"!<rootDir>/src/**/*/__tests__/**/*.ts",
"!<rootDir>/src/**/*/files/**/*.ts"
],
"testMatch": [
"<rootDir>/src/**/*.test.ts"
],
"testPathIgnorePatterns": [
"/node_modules/",
"files"
],
"testEnvironment": "node",
"coverageDirectory": "<rootDir>/reports/coverage"
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github",
"@semantic-release/npm",
"@semantic-release/changelog",
[
"@semantic-release/git",
{
"assets": [
"package.json",
"CHANGELOG.md"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}
}