serverless-plugin-tree-shake
Version:
Shake the dependency tree and only include files needed
132 lines (131 loc) • 2.95 kB
JSON
{
"name": "serverless-plugin-tree-shake",
"version": "1.1.11",
"description": "Shake the dependency tree and only include files needed",
"license": "BSD-3-Clause",
"repository": "github:sergioramos/serverless-plugin-tree-shake",
"author": "Sérgio Ramos <mail@sergioramos.me>",
"main": "index.js",
"files": [
"index.js"
],
"keywords": [
"trace",
"dependencies",
"tree",
"shake",
"tree-shake",
"package",
"bundle",
"typescript",
"serverless",
"serverless-plugin",
"plugin"
],
"scripts": {
"benchmark": "node test/benchmark.js",
"eslint": "eslint . --ext .js",
"fmt": "prettier --config package.json --write '**/*'",
"test": "NODE_ENV=test ava --timeout=5m"
},
"dependencies": {
"@vercel/nft": "^0.10.0",
"apr-find": "^3.0.3",
"apr-map": "^3.0.3",
"apr-parallel": "^3.0.3",
"archiver": "^5.3.0",
"globby": "^11.0.3",
"lodash.flatten": "^4.4.0",
"lodash.sortby": "^4.7.0",
"lodash.topairs": "^4.3.0",
"lodash.uniq": "^4.5.0",
"mz": "^2.7.0",
"nanomatch": "^1.2.13",
"path-is-inside": "^1.0.2",
"pkg-up": "^3.1.0",
"tempy": "^1.0.1"
},
"devDependencies": {
"@commitlint/cli": "^12.1.1",
"@commitlint/config-conventional": "^12.1.1",
"apr-for-each": "^3.0.3",
"apr-intercept": "^3.0.4",
"apr-main": "^4.0.3",
"apr-reduce": "^3.0.3",
"ava": "^3.15.0",
"directory-tree": "^2.2.7",
"eslint": "^7.23.0",
"eslint-config-prettier": "^8.1.0",
"eslint-config-xo-space": "^0.27.0",
"execa": "^5.0.0",
"husky": "^6.0.0",
"lint-staged": "^10.5.4",
"markdown-table": "^2.0.0",
"path-type": "^4.0.0",
"prettier": "^2.2.1",
"pretty-bytes": "^5.6.0",
"pretty-ms": "^7.0.1"
},
"peerDependencies": {
"serverless": "^1.71.3",
"typescript": "^3.9.3"
},
"resolutions": {
"fsevents": "1.2.13"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --config package.json --write",
"git add"
],
"*.*": [
"prettier --config package.json --write",
"git add"
]
},
"prettier": {
"bracketSpacing": true,
"jsxBracketSameLine": false,
"printWidth": 80,
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"xo-space/esnext",
"prettier"
],
"rules": {
"new-cap": 0,
"camelcase": 0,
"capitalized-comments": 0,
"no-promise-executor-return": 0
}
},
"ava": {
"files": [
"test/index.js"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"body-max-line-length": [
0
]
}
}
}