-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
115 lines (115 loc) · 3.84 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
{
"name": "sqlite-wasm-http",
"version": "1.2.0",
"description": "HTTP backend for SQLite3-WASM VFS",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./sqlite3.js": {
"types": "./deps/types/sqlite3.d.ts",
"node": {
"import": "./deps/dist/sqlite3-node.mjs"
},
"default": {
"import": "./deps/dist/sqlite3-bundler-friendly.mjs"
}
},
"./sqlite3-worker1-promiser.js": {
"types": "./deps/types/sqlite3.d.ts",
"default": {
"import": "./deps/dist/sqlite3-worker1-promiser-bundler-friendly.js"
}
}
},
"imports": {
"#sqlite3.js": {
"types": "./deps/types/sqlite3.d.ts",
"node": "./deps/dist/sqlite3-node.mjs",
"default": "./deps/dist/sqlite3-bundler-friendly.mjs"
},
"#sqlite3-worker1-promiser.js": {
"types": "./deps/types/sqlite3.d.ts",
"default": "./deps/dist/sqlite3-worker1-promiser-bundler-friendly.js"
},
"#XMLHttpRequest.cjs": {
"types": "./deps/XMLHttpRequest.d.ts",
"node": "./deps/XMLHttpRequest.cjs",
"default": "./deps/XMLHttpRequest-stub.js"
}
},
"scripts": {
"start": "npx tsc && npx webpack serve --mode=development",
"prepare": "npx tsc && npx webpack --mode=production",
"doc": "npx documentation build src/*.ts --shallow -f md -o docs/API.md",
"c8": "npx c8 mocha -i -g integration",
"lcov": "npx c8 report --reporter=text-lcov > coverage/tests.lcov",
"test": "npm run lint && npm link && mocha",
"lint": "npx eslint src test examples scripts",
"lint:fix": "npx eslint --fix src test examples scripts",
"profile:treemap": "npx webpack --mode=production --env profiler='treemap' --profile",
"profile:statoscope": "npx webpack --mode=production --env profiler='statoscope' --profile",
"publish:shared": "tar -C docs/examples -zcf - `ls docs/examples` | mbuffer | ssh sqlite-wasm-http@orel.garga.net 'cat - | mbuffer | tar -C www -zxvf -'",
"publish:gh": "ts-node-esm scripts/publish-ghpages.ts",
"publish:web": "npm run publish:shared && npm run publish:gh",
"preversion": "npm run prepare && npm test",
"version": "npm run doc && git add package.json docs",
"postversion": "git push && git push --tags && npm run publish:web",
"postpublish": "gh workflow run npm.yml -F version=$npm_package_version"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mmomtchev/sqlite-wasm-http.git"
},
"keywords": [
"sqlite",
"http",
"vfs"
],
"author": "Momtchil Momtchev <momtchil@momtchev.com>",
"license": "ISC",
"bugs": {
"url": "https://github.com/mmomtchev/sqlite-wasm-http/issues"
},
"homepage": "https://github.com/mmomtchev/sqlite-wasm-http#readme",
"devDependencies": {
"@mmomtchev/web-worker": "^1.3.0",
"@statoscope/webpack-plugin": "^5.28.2",
"@types/chai": "^5.0.0",
"@types/gh-pages": "^6.1.0",
"@types/mocha": "^10.0.6",
"@types/node": "^22.5.1",
"@typescript-eslint/eslint-plugin": "^8.1.0",
"@typescript-eslint/parser": "^8.1.0",
"@vue/preload-webpack-plugin": "^2.0.0",
"c8": "^10.1.2",
"chai": "^5.1.0",
"documentation": "^14.0.1",
"eslint": "^8.56.0",
"eslint-plugin-mocha": "^10.2.0",
"gh-pages": "^6.1.1",
"html-webpack-plugin": "^5.6.0",
"karma": "^6.4.2",
"karma-chrome-launcher": "^3.2.0",
"karma-mocha": "^2.0.1",
"mocha": "^10.2.0",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tsconfig-paths-webpack-plugin": "^4.1.0",
"typescript": "^5.3.3",
"webpack": "^5.89.0",
"webpack-bundle-analyzer": "^4.10.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.1"
},
"dependencies": {
"lru-cache": "^11.0.0"
},
"engines": {
"node": ">=18.0.0"
}
}