This repository has been archived by the owner on Apr 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 111
/
package.json
79 lines (79 loc) · 2.32 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
{
"name": "@eclipse-che/theia-generator",
"version": "0.0.1",
"description": "Eclipse Che - Theia tooling",
"author": "Florent Benoit",
"license": "EPL-2.0",
"bin": {
"che-theia": "./dist/index.js"
},
"dependencies": {
"fs-extra": "7.0.1",
"glob": "7.1.3",
"glob-promise": "3.4.0",
"mustache": "3.0.1",
"js-yaml": "3.13.1",
"read-pkg": "3.0.0",
"yargs": "12.0.5",
"webpack": "^5.36.2",
"html-webpack-plugin": "^5.3.1",
"axios": "0.21.2",
"tmp": "^0.0.33"
},
"devDependencies": {
"@types/fs-extra": "5.0.4",
"@types/js-yaml": "3.11.2",
"@types/mustache": "0.8.32",
"@types/read-pkg": "3.0.0",
"@types/tmp": "^0.0.33",
"@types/webpack": "^5.28.0",
"@types/yargs": "12.0.1",
"json2yaml": "^1.1.0",
"ts-jest": "27.0.7",
"jest": "27.3.1"
},
"resolutions": {
"temp": "0.8.4"
},
"files": [
"dist",
"src"
],
"scripts": {
"prepare": "yarn run clean && yarn run build",
"clean": "rimraf dist",
"build": "yarn run compile && yarn run format && yarn run lint && yarn run test",
"compile": "tsc && chmod +x dist/index.js",
"watch": "tsc -w",
"test": "if-env SKIP_TEST=true && echo 'skip test' || jest --forceExit",
"test-watch": "jest --watchAll",
"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}/**/*.ts'",
"lint:fix": "eslint --fix --cache=true --no-error-on-unmatched-pattern=true \"{src,tests}/**/*.{ts,tsx}\"",
"publish:next": "yarn publish --registry=https://registry.npmjs.org/ --no-git-tag-version --new-version 0.0.1-\"$(date +%s)\""
},
"jest": {
"testEnvironment": "jsdom",
"collectCoverage": true,
"collectCoverageFrom": [
"!src/yargs.ts",
"src/**/*.ts"
],
"coverageDirectory": "./coverage",
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"modulePathIgnorePatterns": [
"<rootDir>/dist"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
]
}
}