-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
55 lines (55 loc) · 2.17 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
{
"name": "@gmetrixr/project-rjson",
"version": "2.1.186",
"description": "(R)ecursive Json for Project/Deployment/Discussions",
"types": "./lib/esm/index.d.ts",
"@comment main": "This key is still kept around until older version of node are used that don't understand exports key",
"main": "./lib/cjs/index.js",
"exports": {
"import": "./lib/esm/index.js",
"require": "./lib/cjs/index.js"
},
"repository": "https://github.com/gmetrixr/project-rjson",
"author": "Sahil Ahuja <sahil@gmetri.com>",
"sideEffects": false,
"type": "module",
"files": [
"lib"
],
"scripts": {
"@comment TEST": "Useful for testing",
"check": "./node_modules/.bin/tsc --noEmit",
"lint": "./node_modules/.bin/eslint --ext \".ts,.tsx\" ./src ",
"test": "vitest --run",
"watch-test": "vitest",
"circular": "npx madge --circular --extensions ts src/index.ts",
"@comment PUBLISH": "Used for publishing this repo",
"bundle": "pnpm publish:version && pnpm publish:npm",
"publish:version": "N=$(node -p \"require('./package.json').name\") && pnpm version patch --message \"v%s: $N [ci skip]\"",
"publish:version-notag": "N=$(node -p \"require('./package.json').name\") && pnpm version --no-git-tag-version patch && git commit -am \"trigger: $N [no skip]\"",
"publish:npm": "V=$(node -p \"require('./package.json').version\") && pnpm publish --no-git-check",
"build": "rm -rf lib; pnpm buildesm && pnpm buildcjs && pnpm buildpackagejson",
"buildpackagejson": "tsconfig-to-dual-package ./tsconfig.json ./tsconfig-cjs.json",
"buildesm": "./node_modules/.bin/tsc -p tsconfig.json;",
"buildcjs": "./node_modules/.bin/tsc -p tsconfig-cjs.json;"
},
"peerDependencies": {
"@gmetrixr/gdash": "1.x.x"
},
"dependencies": {
"ramda": "^0.27.1"
},
"devDependencies": {
"@gmetrixr/gdash": "^1.3.86",
"@tsconfig/node20": "^20.1.4",
"@types/node": "^20.14.15",
"@types/ramda": "^0.27.39",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"chalk": "^5.3.0",
"eslint": "^8.56.0",
"tsconfig-to-dual-package": "^1.2.0",
"typescript": "5.4.5",
"vitest": "^2.0.5"
}
}