mirror of
https://github.com/c9fe/22120.git
synced 2024-11-04 10:02:42 +01:00
74 lines
2.0 KiB
JSON
74 lines
2.0 KiB
JSON
{
|
|
"name": "diskernet",
|
|
"version": "2.6.0",
|
|
"description": "Library server and an archivist browser controller.",
|
|
"main": "build/22120.js",
|
|
"module": "src/app.js",
|
|
"bin": {
|
|
"diskernet": "build/22120.js"
|
|
},
|
|
"scripts": {
|
|
"bundle": "npx rollup --config",
|
|
"start": "node src/app.js",
|
|
"setup": "bash ./scripts/build_setup.sh",
|
|
"build": "echo 'please run ./scripts/build_setup.sh first (one time only) and then ./scripts/compile.sh'",
|
|
"clean": "rm -rf build/* bin/*",
|
|
"test": "nodemon src/app.js",
|
|
"save": "nodemon src/app.js 22120 save",
|
|
"serve": "nodemon src/app.js 22120 serve",
|
|
"lint": "watch -n 5 npx eslint .",
|
|
"test-hl": "node src/highlighter.js",
|
|
"postpublish": "cp package.json .package.build.json",
|
|
"prepublishOnly": "npm run bundle && npx webpack ."
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/dosyago/22120.git"
|
|
},
|
|
"pkg": {
|
|
"patches": {
|
|
"./node_modules/fetch-blob/streams.cjs": [
|
|
"Object.assign(globalThis, require('node:stream/web'))",
|
|
"Object.assign(globalThis, require('stream').web)"
|
|
]
|
|
},
|
|
"scripts": "build/*.js",
|
|
"assets": "public/**/*",
|
|
"outputPath": "bin"
|
|
},
|
|
"keywords": [
|
|
"archivist",
|
|
"library"
|
|
],
|
|
"author": "@dosy",
|
|
"license": "AGPL-3.0",
|
|
"bugs": {
|
|
"url": "https://github.com/dosyago/22120/issues"
|
|
},
|
|
"homepage": "https://github.com/dosyago/22120#readme",
|
|
"dependencies": {
|
|
"chrome-launcher": "latest",
|
|
"express": "latest",
|
|
"flexsearch": "^0.7.21",
|
|
"fz-search": "^1.0.0",
|
|
"hasha": "latest",
|
|
"natural": "^5.1.11",
|
|
"ndx": "^1.0.2",
|
|
"ndx-query": "^1.0.1",
|
|
"ndx-serializable": "^1.0.0",
|
|
"node-fetch": "latest",
|
|
"ukkonen": "^1.4.0",
|
|
"ws": "latest"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "^8.4.1",
|
|
"esm": "^3.2.25",
|
|
"nexe": "^1.1.6",
|
|
"nodemon": "latest",
|
|
"npx": "^3.0.0",
|
|
"webpack": "latest",
|
|
"webpack-cli": "latest",
|
|
"rollup-plugin-terser": "^7.0.2"
|
|
}
|
|
}
|