|
1 | 1 | {
|
2 | 2 | "name": "nestjs-graphile-worker",
|
3 | 3 | "version": "0.0.1",
|
4 |
| - "description": "", |
5 |
| - "author": "", |
6 |
| - "private": true, |
7 |
| - "license": "UNLICENSED", |
| 4 | + "description": "A Nest.js wrapper for Graphile Worker", |
| 5 | + "author": "Alexandre Rousseau <[email protected]>", |
| 6 | + "private": false, |
| 7 | + "license": "MIT", |
| 8 | + "homepage": "https://github.com/madeindjs/nestjs-graphile-worker", |
| 9 | + "bugs": { |
| 10 | + "url": "https://github.com/madeindjs/nestjs-graphile-worker/issues" |
| 11 | + }, |
| 12 | + "repository": { |
| 13 | + "type": "git", |
| 14 | + "url": "git+https://github.com/madeindjs/nestjs-graphile-worker.git" |
| 15 | + }, |
8 | 16 | "scripts": {
|
9 | 17 | "prebuild": "rimraf dist",
|
10 | 18 | "build": "nest build",
|
11 |
| - "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\" \"libs/**/*.ts\"", |
12 |
| - "start": "nest start", |
13 |
| - "start:dev": "nest start --watch", |
14 |
| - "start:debug": "nest start --debug --watch", |
15 |
| - "start:prod": "node dist/main", |
16 |
| - "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", |
| 19 | + "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", |
| 20 | + "prepublish:next": "npm run build", |
| 21 | + "publish:next": "npm publish --access public --tag next", |
| 22 | + "prepublish:npm": "npm run build", |
| 23 | + "publish:npm": "npm publish --access public", |
| 24 | + "prerelease": "npm run build", |
| 25 | + "lint": "eslint \"{src,apps,test}/**/*.ts\" --fix", |
17 | 26 | "test": "jest",
|
18 | 27 | "test:watch": "jest --watch",
|
19 | 28 | "test:cov": "jest --coverage",
|
20 |
| - "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", |
21 |
| - "test:e2e": "jest --config ./test/jest-e2e.json" |
| 29 | + "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand" |
22 | 30 | },
|
23 | 31 | "dependencies": {
|
24 |
| - "@nestjs/common": "^8.0.0", |
25 | 32 | "@nestjs/config": "^1.0.1",
|
26 | 33 | "@nestjs/core": "^8.0.0",
|
27 | 34 | "@nestjs/platform-express": "^8.0.0",
|
|
52 | 59 | "tsconfig-paths": "^3.10.1",
|
53 | 60 | "typescript": "^4.3.5"
|
54 | 61 | },
|
| 62 | + "peerDependencies": { |
| 63 | + "@nestjs/common": "^8.0.0", |
| 64 | + "@nestjs/core": "^8.0.0", |
| 65 | + "graphile-worker": "^0.11.4" |
| 66 | + }, |
55 | 67 | "jest": {
|
56 | 68 | "moduleFileExtensions": [
|
57 | 69 | "js",
|
58 | 70 | "json",
|
59 | 71 | "ts"
|
60 | 72 | ],
|
| 73 | + "testPathIgnorePatterns": [ |
| 74 | + "node_modules", |
| 75 | + "sample" |
| 76 | + ], |
61 | 77 | "rootDir": ".",
|
62 | 78 | "testRegex": ".*\\.spec\\.ts$",
|
63 | 79 | "transform": {
|
|
69 | 85 | "coverageDirectory": "./coverage",
|
70 | 86 | "testEnvironment": "node",
|
71 | 87 | "roots": [
|
72 |
| - "<rootDir>/src/", |
73 |
| - "<rootDir>/libs/" |
74 |
| - ], |
75 |
| - "moduleNameMapper": { |
76 |
| - "^@app/graphile-worker(|/.*)$": "<rootDir>/libs/graphile-worker/src/$1" |
77 |
| - } |
| 88 | + "<rootDir>/src/" |
| 89 | + ] |
78 | 90 | }
|
79 | 91 | }
|
0 commit comments