-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
144 lines (144 loc) · 3.55 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"name": "@japa/runner",
"description": "Runner for Japa testing framework",
"version": "3.1.4",
"engines": {
"node": ">=18.16.0"
},
"main": "build/index.js",
"type": "module",
"files": [
"build",
"!build/examples",
"!build/tests",
"!build/tests_helpers"
],
"exports": {
".": "./build/index.js",
"./types": "./build/src/types.js",
"./reporters": "./build/src/reporters/main.js",
"./factories": "./build/factories/main.js",
"./core": "./build/modules/core/main.js"
},
"scripts": {
"pretest": "npm run lint",
"test": "cross-env NODE_DEBUG=japa:runner c8 npm run quick:test",
"quick:test": "glob -c \"node --enable-source-maps --loader=ts-node/esm --test-reporter=spec --test\" \"tests/*.spec.ts\"",
"clean": "del-cli build",
"typecheck": "tsc --noEmit",
"precompile": "npm run lint && npm run clean",
"compile": "tsup-node && tsc --emitDeclarationOnly --declaration",
"build": "npm run compile",
"release": "np",
"prepublishOnly": "npm run build",
"lint": "eslint . --ext=.ts",
"format": "prettier --write .",
"version": "npm run build",
"sync-labels": "github-label-sync --labels .github/labels.json japa/runner"
},
"devDependencies": {
"@adonisjs/eslint-config": "^1.3.0",
"@adonisjs/prettier-config": "^1.3.0",
"@adonisjs/tsconfig": "^1.3.0",
"@commitlint/cli": "^19.2.1",
"@commitlint/config-conventional": "^19.1.0",
"@swc/core": "^1.4.11",
"@types/chai": "^4.3.14",
"@types/chai-subset": "^1.3.5",
"@types/find-cache-dir": "^5.0.0",
"@types/ms": "^0.7.34",
"@types/node": "^20.11.30",
"c8": "^9.1.0",
"chai": "^5.1.0",
"chai-subset": "^1.6.0",
"cross-env": "^7.0.3",
"del-cli": "^5.1.0",
"eslint": "^8.57.0",
"github-label-sync": "^2.3.1",
"glob": "^10.3.12",
"husky": "^9.0.11",
"np": "^10.0.2",
"prettier": "^3.2.5",
"ts-node": "^10.9.2",
"tsup": "^8.0.2",
"typescript": "^5.4.3"
},
"dependencies": {
"@japa/core": "^9.0.1",
"@japa/errors-printer": "^3.0.4",
"@poppinss/colors": "^4.1.3",
"@poppinss/hooks": "^7.2.3",
"fast-glob": "^3.3.2",
"find-cache-dir": "^5.0.0",
"getopts": "^2.3.0",
"ms": "^2.1.3",
"serialize-error": "^11.0.3",
"slash": "^5.1.0",
"supports-color": "^9.4.0"
},
"author": "virk,japa",
"license": "MIT",
"homepage": "https://github.com/japa/runner#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/japa/runner.git"
},
"bugs": {
"url": "https://github.com/japa/runner/issues"
},
"keywords": [
"japa",
"tests",
"test-runner"
],
"directories": {
"test": "test"
},
"eslintConfig": {
"extends": "@adonisjs/eslint-config/package"
},
"prettier": "@adonisjs/prettier-config",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"publishConfig": {
"access": "public",
"tag": "latest"
},
"np": {
"message": "chore(release): %s",
"tag": "latest",
"branch": "main",
"anyBranch": false
},
"c8": {
"reporter": [
"text",
"html"
],
"exclude": [
"tests/**",
"tests_helpers/**",
"factories/**",
"modules/core/**",
"src/reporters/**"
]
},
"tsup": {
"entry": [
"./index.ts",
"./src/types.ts",
"./src/reporters/main.ts",
"./factories/main.ts",
"./modules/core/main.ts"
],
"outDir": "./build",
"clean": true,
"format": "esm",
"dts": false,
"sourcemap": true,
"target": "esnext"
}
}