-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
97 lines (97 loc) · 2.96 KB
/
package.json
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
{
"name": "@eclipse-che/che-devworkspace-generator",
"version": "7.96.0-next",
"private": false,
"description": "Generates DevWorkspaces by transforming existing devfiles",
"main": "lib/entrypoint.js",
"bin": {
"che-devworkspace-generator": "lib/entrypoint.js"
},
"publishConfig": {
"access": "public"
},
"files": [
"lib",
"src"
],
"scripts": {
"prepare": "yarn run clean && yarn run build",
"clean": "rimraf lib",
"build": "yarn run format && yarn run compile && yarn run lint && yarn run test",
"compile": "tsc --declaration --project .",
"format": "if-env SKIP_FORMAT=true && echo 'skip format check' || prettier --check '{src,tests}/**/*.ts' package.json",
"format:fix": "prettier --write '{src,tests}/**/*.ts' package.json",
"lint": "if-env SKIP_LINT=true && echo 'skip lint check' || eslint --cache=true --no-error-on-unmatched-pattern=true '{src,tests}/(!model|**)/*.ts'",
"lint:fix": "eslint --fix --cache=true --no-error-on-unmatched-pattern=true \"{src,tests}/(!model|**)/*.ts\"",
"test": "if-env SKIP_TEST=true && echo 'skip test' || jest --forceExit",
"watch": "tsc -w",
"license:check": "docker run --rm -t -v ${PWD}/:/workspace/project quay.io/che-incubator/dash-licenses:next --check",
"license:generate": "docker run --rm -t -v ${PWD}/:/workspace/project quay.io/che-incubator/dash-licenses:next",
"publish:next": "yarn publish --registry=https://registry.npmjs.org/ --no-git-tag-version --new-version 0.0.1-\"$(date +%s)\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/devfile/devworkspace-generator.git"
},
"author": "",
"license": "EPL-2.0",
"bugs": {
"url": "https://github.com/eclipse/che/issues"
},
"homepage": "https://github.com/eclipse-che/che-devfile-registry#readme",
"dependencies": {
"@devfile/api": "2.3.0-1733171449",
"jsonschema": "^1.4.1",
"axios": "^1.7.4",
"fs-extra": "^11.2.0",
"inversify": "^6.0.2",
"js-yaml": "^4.0.0",
"jsonc-parser": "^3.0.0",
"reflect-metadata": "^0.2.2"
},
"devDependencies": {
"@types/jest": "^27.0.2",
"eslint": "^9.5.0",
"if-env": "^1.0.4",
"jest": "^27.3.1",
"prettier": "^3.3.2",
"rimraf": "^6.0.1",
"rollup": "^4.18.0",
"ts-jest": "^27.0.7",
"typescript": "^5.6.2"
},
"prettier": {
"printWidth": 120,
"singleQuote": true,
"arrowParens": "avoid"
},
"importSort": {
".ts": {
"style": "eslint",
"parser": "typescript"
}
},
"jest": {
"clearMocks": true,
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.ts"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"moduleNameMapper": {
"axios": "axios/dist/node/axios.cjs"
},
"coverageDirectory": "coverage",
"modulePathIgnorePatterns": [
"<rootDir>/lib"
],
"preset": "ts-jest"
}
}