-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
99 lines (99 loc) · 2.88 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
98
99
{
"name": "react-gojs",
"version": "4.9.0",
"description": "GoJS React integration",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "node scripts/clean.js && tsc",
"watch": "node scripts/clean.js && tsc -w",
"test": "node scripts/test.js --env=jsdom",
"coverage": "node scripts/test.js --env=jsdom --coverage",
"coveralls": "cat ./coverage/lcov.info | node node_modules/.bin/coveralls",
"lint": "tslint -c tslint.json 'src/**/*.{ts,tsx}'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/xcomponent/react-gojs.git"
},
"keywords": [
"gojs",
"react"
],
"author": "XComponent <dev@xcomponent.com> (http://www.xcomponent.com)",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/xcomponent/react-gojs/issues"
},
"homepage": "https://github.com/xcomponent/react-gojs#readme",
"devDependencies": {
"@types/enzyme": "^3.10.5",
"@types/jest": "^24.0.17",
"@types/node": "^14.0.14",
"@types/react": "^16.9.41",
"@types/react-dom": "^16.9.8",
"coveralls": "^3.1.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"husky": "^4.2.5",
"jest": "^24.8.0",
"jest-canvas-mock": "^2.1.0",
"prettier": "1.18.2",
"pretty-quick": "^1.11.1",
"react": "16.x",
"react-dom": "16.x",
"ts-jest": "24.1.0",
"tslint": "^5.18.0",
"tslint-config-prettier": "^1.18.0",
"tslint-plugin-prettier": "^2.0.1",
"tslint-react": "^4.0.0",
"typescript": "^3.9.5"
},
"dependencies": {
"gojs": "2.0.18"
},
"peerDependencies": {
"react": "16.x",
"react-dom": "16.x"
},
"jest": {
"setupFilesAfterEnv": [
"<rootDir>/config/jest/setup.js"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}"
],
"testMatch": [
"<rootDir>/src/**/?(*.)(test).ts?(x)"
],
"testEnvironment": "node",
"testURL": "http://localhost",
"transform": {
"^.+\\.tsx?$": "ts-jest",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|mjs|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|ts|tsx)$"
],
"moduleFileExtensions": [
"js",
"json",
"jsx",
"mjs",
"node",
"ts",
"tsx",
"web.js",
"web.jsx",
"web.ts",
"web.tsx"
],
"preset": "ts-jest"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}