mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00

git-subtree-dir: _regroup_monorepo/express-partial-content git-subtree-mainline: 7349176c988df849f7f1cf46f22d48d6b04597e0 git-subtree-split: b80bfb7ca44c16bd5b747362ac2f53ece911b225
53 lines
1.8 KiB
JSON
53 lines
1.8 KiB
JSON
{
|
|
"name": "@triliumnext/express-partial-content",
|
|
"description": "A partial content handler implementation for any readable stream with Express. Based on this blog post: https://www.codeproject.com/Articles/813480/HTTP-Partial-Content-In-Node-js.",
|
|
"version": "1.1.0",
|
|
"main": "dist/index.js",
|
|
"repository": "https://github.com/TriliumNext/express-partial-content",
|
|
"author": "Elian Doran <contact@eliandoran.me>",
|
|
"homepage": "https://github.com/TriliumNext/express-partial-content",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"clean": "rimraf ./dist",
|
|
"copy-assets": "copyfiles -E -u 1 src/examples/sample-files/* dist/",
|
|
"test": "tsc && nyc --reporter=text mocha dist/**/*.spec.js",
|
|
"build:watch": "npx tsc -w",
|
|
"build:dev": "npx tsc && yarn copy-assets",
|
|
"build:prod": "yarn clean && cross-env NODE_ENV=production tsc -p ./tsconfig.production.json",
|
|
"push": "yarn test && yarn build:prod && yarn publish --access public",
|
|
"run:examples:file": "node ./dist/examples/express-file-server/index.js"
|
|
},
|
|
"bugs": {
|
|
"email": "contact@eliandoran.me",
|
|
"url": "https://github.com/TriliumNext/express-partial-content/issues"
|
|
},
|
|
"keywords": [
|
|
"partial-content",
|
|
"206",
|
|
"stream",
|
|
"typescript"
|
|
],
|
|
"devDependencies": {
|
|
"@types/chai": "^4.1.7",
|
|
"@types/express": "^4.16.1",
|
|
"@types/mocha": "^5.2.6",
|
|
"@types/sinon": "^7.0.9",
|
|
"@typescript-eslint/eslint-plugin": "^1.5.0",
|
|
"@typescript-eslint/parser": "^1.5.0",
|
|
"chai": "^4.2.0",
|
|
"copyfiles": "^2.1.0",
|
|
"cross-env": "^5.2.0",
|
|
"eslint": "^5.15.3",
|
|
"express": "^5.1.0",
|
|
"mocha": "^6.0.2",
|
|
"nyc": "^17.1.0",
|
|
"rimraf": "^2.6.3",
|
|
"sinon": "^7.2.7",
|
|
"typescript": "^5.7.2"
|
|
},
|
|
"peerDependencies": {
|
|
"express": "^4.16.4 || ^5.1.0"
|
|
},
|
|
"packageManager": "yarn@1.22.22"
|
|
}
|