forked from eclipse-che/che-theia
/
package.json
64 lines (64 loc) · 1.58 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
{
"name": "@eclipse-che/ports-plugin",
"publisher": "Eclipse Che",
"version": "0.0.1",
"keywords": [
"theia-plugin"
],
"description": "Manage Eclipse Che Ports Plugin",
"license": "EPL-2.0",
"files": [
"src",
"resources"
],
"activationEvents": [
"*"
],
"dependencies": {},
"devDependencies": {
"@eclipse-che/plugin": "latest",
"@theia/plugin": "latest",
"@theia/plugin-packager": "latest",
"@types/jest": "24.0.3",
"@types/node": "11.9.4"
},
"scripts": {
"prepare": "yarn clean && yarn build && yarn lint:fix && yarn test",
"clean": "rimraf lib",
"format": "tsfmt -r --useTsfmt ../../configs/tsfmt.json",
"lint": "tslint -c ../../configs/tslint.json --project tsconfig.json",
"lint:fix": "tslint -c ../../configs/tslint.json --fix --project .",
"compile": "tsc",
"build": "concurrently -n \"format,lint,compile\" -c \"red,green,blue\" \"yarn format\" \"yarn lint\" \"yarn compile\" && theia-plugin pack",
"watch": "tsc -w",
"test": "jest",
"test-watch": "jest --watchAll"
},
"engines": {
"theiaPlugin": "next"
},
"theiaPlugin": {
"backend": "lib/ports-plugin.js"
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.ts"
],
"coverageDirectory": "./coverage",
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"modulePathIgnorePatterns": [
"<rootDir>/dist"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
]
}
}