UNPKG

3.6 kBJSONView Raw
1{
2 "name": "upem",
3 "version": "4.0.1",
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": "9.3.0",
37 "eslint": "7.0.0",
38 "eslint-config-moving-meadow": "2.0.2",
39 "eslint-config-prettier": "6.11.0",
40 "eslint-plugin-budapestian": "2.0.0",
41 "eslint-plugin-import": "2.20.2",
42 "eslint-plugin-jest": "23.13.1",
43 "eslint-plugin-node": "11.1.0",
44 "eslint-plugin-security": "1.4.0",
45 "eslint-plugin-unicorn": "20.0.0",
46 "husky": "4.2.5",
47 "jest": "26.0.1",
48 "lint-staged": "10.2.4",
49 "npm-run-all": "4.1.5",
50 "prettier": "2.0.5"
51 },
52 "dependencies": {
53 "get-stdin": "8.0.0",
54 "libnpmconfig": "1.2.1",
55 "lodash.castarray": "4.4.0",
56 "lodash.get": "4.4.2"
57 },
58 "scripts": {
59 "build": "npm-run-all depcruise:graph",
60 "build:stage": "git add .",
61 "check": "npm-run-all --parallel depcruise lint test",
62 "depcruise": "depcruise --validate -- bin src test",
63 "depcruise:graph": "npm-run-all depcruise:graph:*",
64 "depcruise:graph:html": "depcruise --validate --output-type dot -- bin src | dot -T svg | depcruise-wrap-stream-in-html > docs/dependencygraph.html",
65 "depcruise:graph:svg": "depcruise --validate --output-type dot -- bin src | dot -T svg > docs/dependencygraph.svg",
66 "lint": "npm-run-all lint:eslint lint:prettier",
67 "lint:eslint": "eslint bin src test",
68 "lint:prettier": "prettier --check {bin,src,test}/**/*.js *.{json,yml,md} .github",
69 "lint:fix": "npm-run-all lint:fix:eslint lint:fix:prettier",
70 "lint:fix:eslint": "eslint --fix bin src test",
71 "lint:fix:prettier": "prettier --write {bin,src,test}/**/*.js *.{json,yml,md} .github",
72 "test": "jest --collectCoverage",
73 "update-dependencies": "npm-run-all upem:update upem:install lint:fix check",
74 "upem:update": "npm outdated --json | bin/upem.js",
75 "upem:install": "npm install",
76 "version": "npm-run-all build check build:stage"
77 },
78 "eslintConfig": {
79 "extends": [
80 "moving-meadow"
81 ],
82 "rules": {
83 "complexity": [
84 "warn",
85 4
86 ],
87 "security/detect-non-literal-fs-filename": "off",
88 "security/detect-object-injection": "off"
89 },
90 "overrides": [
91 {
92 "files": [
93 "test/**/*.js"
94 ],
95 "env": {
96 "jest": true
97 },
98 "rules": {
99 "node/global-require": "off",
100 "max-lines-per-function": "off"
101 }
102 }
103 ]
104 },
105 "jest": {
106 "clearMocks": true,
107 "coverageDirectory": "coverage",
108 "coverageReporters": [
109 "text-summary",
110 "lcov",
111 "html"
112 ],
113 "testEnvironment": "node"
114 },
115 "engines": {
116 "node": "^10||^12||>=13"
117 },
118 "husky": {
119 "hooks": {
120 "pre-commit": "lint-staged"
121 }
122 },
123 "lint-staged": {
124 "{bin,src,test}/**/*.js": [
125 "depcruise --validate -- bin src test",
126 "eslint --fix"
127 ],
128 "*.{js,json,md,yml}": [
129 "prettier --write"
130 ]
131 }
132}