UNPKG

4.02 kBJSONView Raw
1{
2 "name": "upem",
3 "version": "3.1.2",
4 "description": "Ups your package.json dependencies to latest. Opinionated. Respectless.",
5 "bin": {
6 "upem": "./bin/upem.js"
7 },
8 "main": "index.js",
9 "files": [
10 "src/**/*.js",
11 "bin/**/*.js",
12 "package.json",
13 "README.md"
14 ],
15 "keywords": [
16 "npm",
17 "check",
18 "updates",
19 "dependencies",
20 "package.json",
21 "version",
22 "management",
23 "ncu"
24 ],
25 "author": "Sander Verweij (https://sverweij.github.io/)",
26 "license": "MIT",
27 "homepage": "https://github.com/sverweij/upem",
28 "repository": {
29 "type": "git",
30 "url": "git+https://github.com/sverweij/upem"
31 },
32 "bugs": {
33 "url": "https://github.com/sverweij/upem/issues"
34 },
35 "devDependencies": {
36 "dependency-cruiser": "5.1.1",
37 "eslint": "6.3.0",
38 "eslint-config-prettier": "6.3.0",
39 "eslint-config-standard": "14.1.0",
40 "eslint-plugin-import": "2.18.2",
41 "eslint-plugin-node": "10.0.0",
42 "eslint-plugin-promise": "4.2.1",
43 "eslint-plugin-security": "1.4.0",
44 "eslint-plugin-standard": "4.0.1",
45 "husky": "3.0.5",
46 "jest": "24.9.0",
47 "lint-staged": "9.2.5",
48 "npm-run-all": "4.1.5",
49 "prettier": "1.18.2"
50 },
51 "dependencies": {
52 "get-stdin": "7.0.0",
53 "libnpmconfig": "1.2.1",
54 "lodash.castarray": "4.4.0",
55 "lodash.get": "4.4.2"
56 },
57 "scripts": {
58 "build": "npm-run-all depcruise:graph",
59 "build:stage": "git add .",
60 "check": "npm-run-all --parallel depcruise lint test",
61 "depcruise": "depcruise --validate -- bin src test",
62 "depcruise:graph": "npm-run-all depcruise:graph:*",
63 "depcruise:graph:html": "depcruise --validate --output-type dot -- bin src | dot -T svg | cat docs/assets/depcruise-graph-head.snippet.html - docs/assets/depcruise-graph-foot.snippet.html > docs/dependencygraph.html",
64 "depcruise:graph:png": "depcruise --validate --output-type dot -- bin src | dot -Gdpi=192 -T png | pngquant - > docs/dependencygraph.png",
65 "lint": "npm-run-all lint:eslint lint:prettier",
66 "lint:eslint": "eslint bin src test",
67 "lint:prettier": "prettier --check {bin,src,test}/\\*\\*/\\*.js *.{json,yml,md}",
68 "lint:fix": "npm-run-all lint:fix:eslint lint:fix:prettier",
69 "lint:fix:eslint": "eslint --fix bin src test",
70 "lint:fix:prettier": "prettier --loglevel warn --write {bin,src,test}/\\*\\*/\\*.js *.{json,yml,md}",
71 "test": "jest --collectCoverage",
72 "update-dependencies": "npm-run-all upem:update upem:install lint:fix check",
73 "upem:update": "npm outdated --json | bin/upem.js",
74 "upem:install": "npm install",
75 "version": "npm-run-all build check build:stage"
76 },
77 "eslintConfig": {
78 "extends": [
79 "standard",
80 "prettier"
81 ],
82 "plugins": [
83 "security"
84 ],
85 "rules": {
86 "complexity": [
87 "warn",
88 4
89 ],
90 "security/detect-unsafe-regex": "error",
91 "security/detect-buffer-noassert": "error",
92 "security/detect-child-process": "error",
93 "security/detect-disable-mustache-escape": "error",
94 "security/detect-eval-with-expression": "error",
95 "security/detect-no-csrf-before-method-override": "error",
96 "security/detect-non-literal-fs-filename": "off",
97 "security/detect-non-literal-regexp": "error",
98 "security/detect-non-literal-require": "error",
99 "security/detect-object-injection": "off",
100 "security/detect-possible-timing-attacks": "error",
101 "security/detect-pseudoRandomBytes": "error"
102 }
103 },
104 "jest": {
105 "clearMocks": true,
106 "coverageDirectory": "coverage",
107 "coverageReporters": [
108 "text-summary",
109 "lcov",
110 "html"
111 ],
112 "testEnvironment": "node"
113 },
114 "engines": {
115 "node": ">=8"
116 },
117 "husky": {
118 "hooks": {
119 "pre-commit": "lint-staged"
120 }
121 },
122 "lint-staged": {
123 "{bin,src,test}/**/*.js": [
124 "depcruise --validate -- bin src test",
125 "eslint --fix",
126 "git add"
127 ],
128 "*.{js,json,md,yml}": [
129 "prettier --write",
130 "git add"
131 ]
132 }
133}