-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
131 lines (131 loc) · 4.26 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "@triply/triplydb",
"version": "8.2.3",
"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": "4.1.0",
"colors": "^1.4.0",
"cross-fetch": "^4.0.0",
"debug": "^4.3.4",
"form-data": "^4.0.0",
"fs-extra": "^11.2.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.17.3",
"parse-link-header": "^2.0.0",
"pumpify": "^2.0.1",
"query-string": "^9.0.0",
"semver": "^7.6.2",
"sparqljs": "^3.7.1",
"ts-essentials": "^10.0.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.8",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-sucrase": "^5.0.2",
"@rollup/plugin-typescript": "^11.1.6",
"@types/chai": "^4.3.16",
"@types/chai-as-promised": "^7.1.8",
"@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.6",
"@types/n3": "^1.16.4",
"@types/node": "20.12.12",
"@types/parse-link-header": "^2.0.3",
"@types/pumpify": "^1.4.4",
"@types/semver": "^7.5.8",
"@types/sparqljs": "^3.1.10",
"@typescript-eslint/eslint-plugin": "^7.11.0",
"@typescript-eslint/parser": "^7.11.0",
"chai": "^5.1.1",
"chai-as-promised": "^7.1.2",
"commander": "^12.1.0",
"dedent": "^1.5.3",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-lodash": "^7.4.0",
"husky": "8.0.3",
"lint-staged": "^15.2.5",
"mocha": "^10.4.0",
"pinst": "^3.0.0",
"pkg": "^5.8.1",
"prettier": "^3.2.5",
"rollup": "^4.18.0",
"source-map-support": "^0.5.21",
"typescript": "^5.4.5"
},
"packageManager": "yarn@3.2.1",
"publishConfig": {
"access": "public"
},
"exports": {
".": {
"import": {
"types": "./lib/App.d.ts",
"default": "./lib/App.js"
}
},
"./*": {
"import": {
"default": "./lib/*"
}
}
},
"type": "module"
}