-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
116 lines (116 loc) · 3.24 KB
/
package.json
File metadata and controls
116 lines (116 loc) · 3.24 KB
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
{
"name": "@snutsjs/core",
"version": "1.2.3",
"description": "AST-based test smell detection core for JavaScript and TypeScript projects.",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"snuts": "./bin/snuts.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./detectors": {
"types": "./dist/detectors/index.d.ts",
"import": "./dist/detectors/index.js",
"require": "./dist/detectors/index.cjs"
},
"./runtime/watch": {
"types": "./dist/runtime/watch.d.ts",
"import": "./dist/runtime/watch.js",
"require": "./dist/runtime/watch.cjs"
},
"./package.json": "./package.json"
},
"files": [
"bin",
"dist",
"README.md",
"LICENSE"
],
"sideEffects": false,
"repository": {
"type": "git",
"url": "git+https://github.com/Jhonatanmizu/snuts.js-core.git"
},
"bugs": {
"url": "https://github.com/Jhonatanmizu/snuts.js-core/issues"
},
"homepage": "https://github.com/Jhonatanmizu/snuts.js-core#readme",
"license": "GPL-3.0",
"author": "Jhonatanmizu <natanjesuss20@gmail.com>",
"engines": {
"node": ">=18"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"start": "tsx lib/bin/cli.ts watch .",
"clean": "rimraf dist",
"build": "tsup --config tsup.config.ts",
"typecheck": "tsc --noEmit -p tsconfig.build.json",
"test": "jest --passWithNoTests",
"test:watch": "jest --passWithNoTests --watch",
"test:coverage": "jest --passWithNoTests --coverage",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write .",
"changeset": "changeset",
"version-packages": "changeset version",
"release": "changeset publish",
"prepublishOnly": "npm run lint && npm run test && npm run typecheck && npm run build && npm pack --dry-run",
"prepare": "husky"
},
"lint-staged": {
"*.{ts,js,json,md}": [
"eslint --fix",
"prettier --write",
"jest --passWithNoTests"
]
},
"devDependencies": {
"@changesets/cli": "^2.29.7",
"@babel/eslint-parser": "^7.24.8",
"@babel/preset-env": "^7.24.8",
"@eslint/js": "^9.37.0",
"@types/babel__traverse": "^7.28.0",
"@types/esquery": "^1.5.4",
"@types/node": "^24.8.1",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.17.20",
"@typescript-eslint/eslint-plugin": "^8.46.1",
"@typescript-eslint/parser": "^8.46.1",
"eslint": "^9.37.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-prettier": "^5.5.4",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^16.2.4",
"prettier": "^3.6.2",
"rimraf": "^6.0.1",
"ts-jest": "^29.2.0",
"tsup": "^8.5.0",
"tsx": "^4.20.6",
"typescript": "^5.9.3",
"typescript-eslint": "^8.46.1",
"vitest-tsconfig-paths": "^3.4.1"
},
"dependencies": {
"@babel/parser": "^7.28.4",
"@babel/types": "^7.28.4",
"chokidar": "^4.0.3",
"esquery": "^1.6.0",
"glob": "^11.0.3",
"lodash": "^4.17.21",
"pino": "^10.1.0",
"pino-pretty": "^13.1.2"
}
}