/
package.json
117 lines (117 loc) · 2.85 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
{
"name": "snapshot-fs",
"version": "1.0.0",
"type": "module",
"description": "Create a filesystem snapshot for use with memfs",
"author": "Christopher Hiller <boneskull@boneskull.com>",
"license": "Apache-2.0",
"engines": {
"node": ">=20.0.0"
},
"bin": {
"snapshot-fs": "./dist/esm/cli.js"
},
"main": "./dist/commonjs/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
}
},
"types": "./dist/commonjs/index.d.ts",
"files": [
"dist",
"!dist/*/test"
],
"keywords": [
"memfs",
"snapshot",
"fs",
"filesystem",
"image",
"directory",
"tree",
"hierarchy",
"persist",
"clone",
"test",
"cli",
"command",
"tool"
],
"scripts": {
"build": "node --env-file=.build.env ./node_modules/.bin/tshy",
"coverage": "c8 --all --include src npm run test",
"lint": "run-p lint:*",
"lint-commit": "commitlint",
"lint-staged": "lint-staged",
"lint:deps": "depcruise -c ./.config/dependency-cruiser.cjs src",
"lint:sources": "eslint .",
"prepare": "npm run build",
"test": "glob -c \"node --import tsx --test\" \"./src/test/*.spec.ts\""
},
"dependencies": {
"glob": "10.3.14",
"is-binary-path": "2.1.0",
"memfs": "4.8.2"
},
"devDependencies": {
"@commitlint/cli": "19.2.2",
"@commitlint/config-conventional": "19.1.0",
"@eslint/js": "8.57.0",
"@matteo.collina/snap": "0.3.0",
"@stylistic/eslint-plugin-js": "1.7.2",
"@stylistic/eslint-plugin-ts": "1.7.2",
"@tsconfig/node20": "20.1.4",
"@types/eslint__js": "8.42.3",
"@types/node": "20.12.11",
"c8": "9.1.0",
"dependency-cruiser": "16.2.4",
"eslint": "8.57.0",
"eslint-plugin-jsonc": "2.15.1",
"eslint-plugin-n": "16.6.2",
"husky": "9.0.11",
"lint-staged": "15.2.2",
"npm-run-all2": "6.1.2",
"prettier": "3.2.5",
"prettier-plugin-jsdoc": "1.3.0",
"prettier-plugin-organize-imports": "3.2.4",
"prettier-plugin-pkg": "0.18.1",
"tshy": "1.13.1",
"tsx": "4.7.3",
"typescript": "5.4.3",
"typescript-eslint": "7.4.0"
},
"lint-staged": {
"*.{js,json,md,ya?ml}": [
"eslint --fix",
"prettier --write"
]
},
"prettier": {
"jsdocCommentLineStrategy": "keep",
"jsdocPreferCodeFences": true,
"jsdocTagsOrder": "{\"template\": 24.5}",
"plugins": [
"prettier-plugin-jsdoc",
"prettier-plugin-pkg",
"prettier-plugin-organize-imports"
],
"singleQuote": true,
"tsdoc": true
},
"tshy": {
"exports": {
"./package.json": "./package.json",
".": "./src/index.ts"
},
"selfLink": false
}
}