Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 1.53 KB
/
Copy pathpackage.json
File metadata and controls
61 lines (61 loc) · 1.53 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
{
"name": "lup-root",
"version": "2.0.3",
"type": "module",
"description": "Determines absolute path to project root and main file",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib"
],
"exports": {
".": {
"import": "./lib/index.js",
"types": "./lib/index.d.ts"
}
},
"scripts": {
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config jestconfig.json",
"build": "tsc",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
"lint": "tslint -p tsconfig.json",
"prepublishOnly": "npm run lint && npm run build && npm test",
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/LupCode/node-lup-root.git"
},
"keywords": [
"node",
"module",
"root",
"app-root",
"project-root"
],
"author": "LupCode.com",
"license": "MIT",
"bugs": {
"url": "https://github.com/LupCode/node-lup-root/issues"
},
"homepage": "https://github.com/LupCode/node-lup-root#readme",
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@types/jest": "^30.0.0",
"@types/node": "^22.20.3",
"jest": "^30.5.1",
"prettier": "^3.9.7",
"ts-jest": "^29.4.12",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"typescript": "^6.0.3"
},
"allowScripts": {
"@parcel/watcher@2.6.0": true,
"unrs-resolver@1.12.2": true
}
}