multiparty-express
Version:
An express middleware for multiparty, with TypeScript typings.
86 lines (85 loc) • 2.54 kB
JSON
{
"name": "multiparty-express",
"version": "0.1.9",
"description": "An express middleware for multiparty, with TypeScript typings.",
"main": "dist/src/index.js",
"typings": "dist/src/index.d.ts",
"files": [
"dist/src/"
],
"license": "MIT",
"scripts": {
"test": "npm run clean && npm run compile && npx jasmine 'dist/test/**/*.spec.js'",
"posttest": "npm run check",
"test:watch": "npm run clean && npx tsc-watch --onSuccess \"npx jasmine 'dist/test/**/*.spec.js'\" --preserveWatchOutput -w --noEmitOnError false",
"check": "tslint -p . && npx prettier --config ./.prettierrc --check 'src/**/*.ts' 'test/**/*.ts'",
"clean": "npx shx rm -rf dist/",
"compile": "echo Compiling... && tsc -p .",
"compile:production": "echo Compiling... && tsc -p tsconfig.prod.json",
"fix": "npx tslint -p . --fix && npx prettier --config ./.prettierrc --write 'src/**/*.ts' 'test/**/*.ts'",
"precommit": "lint-staged"
},
"husky": {
"hooks": {
"pre-commit": "npm run precommit",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"src/**/*.ts": [
"tslint -p . --fix",
"prettier --config ./.prettierrc --write",
"git add"
],
"test/**/*.ts": [
"tslint -p . --fix",
"prettier --config ./.prettierrc --write",
"git add"
]
},
"repository": {
"type": "git",
"url": "https://github.com/elunic/node-multiparty-express.git"
},
"keywords": [
"multiparty",
"express"
],
"author": {
"name": "William Hefter",
"email": "wh@elunic.com"
},
"devDependencies": {
"@commitlint/cli": "^7.3.2",
"@commitlint/config-conventional": "^7.3.1",
"@elunic/express-async-error-wrapper": "^0.0.6",
"@elunic/express-error-handler": "^0.2.2",
"@types/debug": "^0.0.31",
"@types/express": "^4.16.1",
"@types/fs-extra": "^5.0.4",
"@types/get-port": "^4.0.1",
"@types/jasmine": "^3.3.7",
"@types/multiparty": "^0.0.31",
"@types/supertest": "^2.0.7",
"@types/uniqid": "^4.1.2",
"express": "^4.16.4",
"get-port": "^4.1.0",
"gts": "^0.9.0",
"husky": "^1.3.1",
"jasmine": "^3.3.1",
"lint-staged": "^8.1.0",
"prettier": "^1.16.1",
"shx": "^0.3.2",
"supertest": "^3.4.2",
"tsc-watch": "^1.1.34",
"tslint-config-prettier": "^1.17.0",
"typescript": "~3.1.0",
"uniqid": "^5.0.3"
},
"dependencies": {
"debug": "^4.1.1",
"fs-extra": "^7.0.1",
"multiparty": "^4.2.1",
"ow": "^0.10.0"
}
}