mirror of https://github.com/TriliumNext/Notes
47 lines
1.6 KiB
JSON
47 lines
1.6 KiB
JSON
{
|
|
"name": "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.0.0",
|
|
"main": "dist/index.js",
|
|
"repository": "ssh://git@github.com-sukantgujar/SukantGujar/express-partial-content",
|
|
"author": "sukantgujar <sukantgujar@yahoo.com>",
|
|
"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",
|
|
"run:examples:file": "node ./dist/examples/express-file-server/index.js",
|
|
"run:examples:mongo": "node ./dist/examples/express-mongo-server/index.js"
|
|
},
|
|
"keywords": [
|
|
"partial-content",
|
|
"206",
|
|
"stream"
|
|
],
|
|
"devDependencies": {
|
|
"@types/chai": "^4.1.7",
|
|
"@types/express": "^4.16.1",
|
|
"@types/mocha": "^5.2.6",
|
|
"@types/mongodb": "^3.1.22",
|
|
"@types/sinon": "^7.0.9",
|
|
"chai": "^4.2.0",
|
|
"copyfiles": "^2.1.0",
|
|
"cross-env": "^5.2.0",
|
|
"express": "^4.16.4",
|
|
"mocha": "^6.0.2",
|
|
"mongodb": "^3.1.13",
|
|
"nyc": "^13.3.0",
|
|
"rimraf": "^2.6.3",
|
|
"sinon": "^7.2.7",
|
|
"typescript": "^3.3.3333"
|
|
},
|
|
"peerDependencies": {
|
|
"express": "^4.16.4"
|
|
},
|
|
"dependencies": {}
|
|
}
|