-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
129 lines (129 loc) · 4.21 KB
/
package.json
File metadata and controls
129 lines (129 loc) · 4.21 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
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "@triply/triplydb",
"version": "8.2.10",
"author": "Triply <info@triply.cc>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/TriplyDB/TriplyDB-JS.git"
},
"bugs": "https://github.com/TriplyDB/TriplyDB-JS/issues",
"homepage": "https://github.com/TriplyDB/TriplyDB-JS",
"bin": "./lib/bin/triplydb.js",
"scripts": {
"build": "rm -rf ./lib && tsc -p tsconfig.json && chmod +x ./lib/bin/*",
"build:watch": "rm -rf ./lib && tsc -p tsconfig.json --watch --preserveWatchOutput",
"dev": "rm -rf ./lib && tsc -p tsconfig.json --watch --preserveWatchOutput",
"test": "bash -c \"mocha $(find ./lib -name '*-test.js' | xargs) --timeout 120000 --require source-map-support/register\"",
"package": "rollup -c && pkg ./lib/triplydb.cjs -t \"node18-linux-x64,node18-macos-x64,node18-win-x64\"",
"preversion": "isCleanBranch",
"postversion": "versionToBranch",
"prepublishOnly": "if [ -z \"${CI}\" ]; then echo Publishing is not allowed. Only the CI may publish; exit 1; fi",
"util:lint": "ESLINT_STRICT=true ESLINT_EXPENSIVE=true eslint --ext .tsx --ext .ts ./src",
"util:lint:precommit": "ESLINT_STRICT=true eslint",
"util:prettify": "prettier --parser typescript --write $(find ./src -regex '.*\\.tsx?$')",
"util:validateTs": "tsc -p ./tsconfig-validate.json --noEmit",
"util:validateTs:withLib": "tsc -p ./tsconfig-validate.json --noEmit --skipLibCheck false",
"util:validateTs:watch": "tsc -p ./tsconfig-validate.json --noEmit --watch --preserveWatchOutput",
"util:validateFull": "yarn run util:validateTs && yarn run util:lint && yarn run build && yarn run test",
"postinstall": "husky install ./bin/hooks",
"prepack": "pinst --disable",
"postpack": "pinst --enable"
},
"lint-staged": {
"*.ts?(x)": [
"prettier --parser typescript --write",
"yarn run util:lint:precommit"
],
"*.js": [
"prettier --write"
],
"*.md": [
"prettier --write"
],
"*.yml": [
"prettier --write"
],
"package-lock.json": [
"sed -i 's|resolved\": \"http://|resolved\": \"https://|g' package-lock.json"
]
},
"dependencies": {
"@triply/tus-js-client": "2.3.0",
"@triply/utils": "5.0.1",
"colors": "^1.4.0",
"cross-fetch": "^4.1.0",
"debug": "^4.4.0",
"form-data": "^4.0.1",
"fs-extra": "^11.3.0",
"global-agent": "^3.0.0",
"http-status-codes": "^2.3.0",
"jwt-decode": "^4.0.0",
"lodash-es": "^4.17.21",
"md5": "^2.3.0",
"n3": "^1.23.1",
"parse-link-header": "^2.0.0",
"pumpify": "^2.0.1",
"query-string": "^9.1.1",
"sparqljs": "^3.7.3",
"ts-essentials": "^10.0.4"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-sucrase": "^5.0.2",
"@rollup/plugin-typescript": "^12.1.2",
"@types/chai": "^5.0.1",
"@types/chai-as-promised": "^8.0.1",
"@types/debug": "^4.1.12",
"@types/fs-extra": "^11.0.4",
"@types/global-agent": "^2.1.3",
"@types/lodash-es": "^4.17.12",
"@types/md5": "^2.3.5",
"@types/mocha": "^10.0.10",
"@types/n3": "^1.21.1",
"@types/node": "22.13.1",
"@types/parse-link-header": "^2.0.3",
"@types/pumpify": "^1.4.4",
"@types/semver": "^7.5.8",
"@types/sparqljs": "^3.1.12",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"chai": "^5.1.2",
"chai-as-promised": "^8.0.1",
"commander": "^13.1.0",
"dedent": "^1.5.3",
"eslint": "^8.57.1",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-lodash": "^7.4.0",
"husky": "9.1.7",
"lint-staged": "^15.4.3",
"mocha": "^11.1.0",
"pinst": "^3.0.0",
"pkg": "^5.8.1",
"prettier": "^3.4.2",
"rollup": "^4.34.6",
"source-map-support": "^0.5.21",
"typescript": "^5.7.3"
},
"packageManager": "yarn@3.2.1",
"publishConfig": {
"access": "public"
},
"exports": {
".": {
"import": {
"types": "./lib/App.d.ts",
"default": "./lib/App.js"
}
},
"./*": {
"import": {
"default": "./lib/*"
}
}
},
"type": "module"
}