2021-12-28 16:14:17 +01:00
|
|
|
{
|
|
|
|
"name": "archivist1",
|
|
|
|
"description": "Library server and an archivist browser controller.",
|
|
|
|
"main": "src/app.js",
|
|
|
|
"module": "src/app.js",
|
|
|
|
"bin": {
|
|
|
|
"archivist1": "build/22120.js"
|
|
|
|
},
|
|
|
|
"scripts": {
|
2022-01-05 06:30:21 +01:00
|
|
|
"bundle": "npx rollup --config",
|
2021-12-28 16:14:17 +01:00
|
|
|
"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"
|
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/dosyago/22120.git"
|
|
|
|
},
|
|
|
|
"pkg": {
|
2022-01-05 06:46:35 +01:00
|
|
|
"patches": {
|
|
|
|
"./node_modules/fetch-blob/streams.cjs": [
|
|
|
|
"require('node:stream/web')",
|
|
|
|
"require('stream').web"
|
|
|
|
]
|
|
|
|
},
|
2021-12-28 16:14:17 +01:00
|
|
|
"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",
|
2022-01-05 06:46:35 +01:00
|
|
|
"webpack-cli": "latest",
|
|
|
|
"rollup-plugin-terser": "^7.0.2"
|
2021-12-28 16:14:17 +01:00
|
|
|
}
|
|
|
|
}
|