-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
58 lines (58 loc) · 2.22 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
{
"name": "@gmetrixr/gdash",
"version": "1.3.87",
"description": "A GMetri Client (web) utility library",
"types": "./lib/esm/index.d.ts",
"exports": {
"require": "./lib/cjs/index.js",
"import": "./lib/esm/index.js"
},
"repository": "git@github.com:gmetrivr/gdash",
"author": "Sahil Ahuja <sahil@gmetri.com>",
"license": "MIT",
"sideEffects": false,
"type": "module",
"files": [
"lib/*"
],
"scripts": {
"@comment TEST": "Useful for testing",
"check": "$(pnpm bin)/tsc --noEmit",
"lint": "$(pnpm bin)/eslint --ext \".ts,.tsx\" ./src ",
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest",
"watch-test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest --watch",
"circular": "npx madge --circular --extensions ts src/index.ts",
"@comment PUBLISH": "Used for publishing this repo",
"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-esm.json;",
"buildcjs": "./node_modules/.bin/tsc -p tsconfig-cjs.json;",
"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"
},
"dependencies": {
"@types/js-cookie": "^3.0.6",
"@types/mustache": "^4.2.2",
"@types/uuid": "^9.0.3",
"js-cookie": "^3.0.5",
"mustache": "^4.2.0",
"rfdc": "^1.3.0",
"uuid": "^9.0.1",
"worker-timers": "^7.0.75"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@tsconfig/node20": "^20.1.2",
"@types/node": "^20.11.5",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"tsconfig-to-dual-package": "^1.2.0",
"typescript": "^5.3.3"
}
}