-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
110 lines (110 loc) · 3.39 KB
/
package.json
File metadata and controls
110 lines (110 loc) · 3.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "scp-boilerplate",
"version": "1.0.0",
"description": "This NPM package helps you to create NPM packages with React components that can be used to build DHIS2 apps or other components.",
"main": "dist/index.js",
"bin": {
"dhis2-scp-cli": "dist/cli.js"
},
"scripts": {
"test": "jest --env=node --colors --coverage",
"start": "ts-node src/cli.ts",
"start:tsc": "npm run build:actual && npm run start:tsc:actual --",
"start:tsc:actual": "node dist/cli.js",
"prepare": "npm run build:actual",
"lint": "eslint src",
"lint:fix": "eslint --fix src",
"tsc": "tsc",
"tsc:watch": "tsc -w",
"ts-node": "ts-node",
"build:actual": "tsc && copyfiles 'src/**/*.js' --up 1 dist",
"build": "npm run validate && npm run build:actual",
"copyfiles": "copyfiles",
"clean": "rimraf --glob dist/ dist-*/ docs/ *.tgz repo-dir",
"distclean": "rimraf --glob dist/ dist-*/ docs/ *.tgz repo-dir node_modules",
"validate": "run-p lint test"
},
"jest": {
"preset": "ts-jest",
"verbose": true,
"testEnvironment": "node",
"coveragePathIgnorePatterns": [
"<rootDir>/dist/",
"<rootDir>/node_modules/",
"<rootDir>/src/constants.ts",
"<rootDir>/src/misc.ts"
],
"roots": [
"<rootDir>/src"
],
"coverageThreshold": {
"global": {
"branches": 50,
"functions": 30,
"lines": 50,
"statements": 50
}
}
},
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"ignorePatterns": [
"coverage",
"node_modules",
"dist"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/haheskja/scp-boilerplate.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/haheskja/scp-boilerplate/issues"
},
"homepage": "https://github.com/haheskja/scp-boilerplate#readme",
"devDependencies": {
"@types/debug": "^4.1.5",
"@types/diff": "^4.0.2",
"@types/jest": "^26.0.23",
"@types/mkdirp": "^1.0.1",
"@types/node-fetch": "^2.5.10",
"@types/rimraf": "^3.0.0",
"@types/semver": "^7.3.5",
"@types/validate-npm-package-name": "^3.0.2",
"@typescript-eslint/eslint-plugin": "^4.23.0",
"@typescript-eslint/parser": "^4.23.0",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"jest": "^26.6.3",
"npm-run-all": "^4.1.5",
"ts-jest": "^26.5.6",
"ts-node": "^9.1.1",
"typescript": "^4.2.4"
},
"dependencies": {
"axios": "^0.21.1",
"boxen": "^4.2.0",
"chalk": "^4.1.1",
"consola": "^2.15.3",
"debug": "^4.3.1",
"diff": "^5.0.0",
"eslint": "^7.26.0",
"jest-fetch-mock": "^3.0.3",
"mkdirp": "^1.0.4",
"rimraf": "^3.0.2",
"semver": "^7.3.5",
"simple-git": "^2.38.1",
"validate-npm-package-name": "^3.0.0",
"yargs": "^15.4.1"
}
}