-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
144 lines (144 loc) · 4.43 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"name": "alignment-viewer-2",
"homepage": "https://fast.alignmentviewer.org",
"version": "2.0.0-beta-2",
"private": false,
"author": "Nicholas Gauthier",
"module": "dist/js/index.js",
"types": "dist/js/index.d.ts",
"contributors": [
"Yang Su",
"Andrew Diamantoukos",
"Chris Sander"
],
"repository": {
"type": "git",
"url": "https://github.com/sanderlab/AlignmentViewer2.0"
},
"babel": {
"presets": [
"@babel/react",
"@babel/preset-typescript"
],
"plugins": [
"@babel/plugin-transform-class-properties",
"@babel/plugin-proposal-export-default-from",
"@babel/plugin-transform-optional-chaining",
"babel-plugin-typescript-to-proptypes",
"@babel/plugin-transform-class-static-block",
"@babel/plugin-proposal-object-rest-spread"
]
},
"license": "MIT",
"dependencies": {
"@react-hook/size": "2.1.2",
"@reduxjs/toolkit": "2.0.1",
"pixi.js": "7.3.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-redux": "9.0.4",
"react-select": "5.8.0",
"react-tooltip": "5.25.1",
"sass": "1.69.7"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom-fifteen",
"eject": "react-scripts eject",
"cover": "react-scripts test --env=jsdom-fifteen --coverage --watchAll=false",
"build-and-deploy": "yarn deploy && yarn publish-to-npm",
"predeploy": "yarn build",
"deploy": "gh-pages -d build",
"prep-dist": "rimraf dist && yarn babel:all && yarn tsc -p tsconfig.dist.json && node ./scripts/copyStyles.js && yarn webpack --config webpack-standalone.config.js",
"publish-to-npm": "yarn prep-dist && yarn publish",
"babel:all": "yarn babel:cjs && yarn babel:esm && yarn babel:umd",
"babel:cjs": "BABEL_ENV=cjs babel --source-maps --extensions \".ts,.tsx\" --ignore \"**/__tests__\" src --out-dir dist/js --presets=@babel/env",
"babel:esm": "BABEL_ENV=esm babel --source-maps --extensions \".ts,.tsx\" --ignore \"**/__tests__\" src --out-dir dist/esm",
"babel:umd": "BABEL_ENV=umd babel --source-maps --extensions \".ts,.tsx\" --ignore \"**/__tests__\" src --out-dir dist/umd --plugins=transform-es2015-modules-umd"
},
"files": [
"dist"
],
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/cli": "7.23.4",
"@babel/core": "7.23.7",
"@babel/plugin-proposal-export-default-from": "7.23.3",
"@babel/plugin-proposal-object-rest-spread": "7.20.7",
"@babel/plugin-transform-class-properties": "7.23.3",
"@babel/plugin-transform-class-static-block": "7.23.4",
"@babel/plugin-transform-optional-chaining": "7.23.4",
"@babel/preset-react": "7.23.3",
"@babel/preset-typescript": "7.23.3",
"@babel/preset-env": "7.24.4",
"@testing-library/jest-dom": "6.1.5",
"@testing-library/react": "14.1.2",
"@testing-library/user-event": "14.5.1",
"@types/enzyme": "3.10.16",
"@types/enzyme-adapter-react-16": "1.0.9",
"@types/jest": "29.5.10",
"@types/react": "18.2.39",
"@types/react-redux": "7.1.32",
"babel-plugin-transform-es2015-modules-umd": "6.24.1",
"babel-plugin-typescript-to-proptypes": "2.1.0",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.4.4",
"gh-pages": "^2.2.0",
"identity-obj-proxy": "3.0.0",
"jest-canvas-mock": "2.5.2",
"jest-environment-jsdom-fifteen": "1.0.2",
"jest-fetch-mock": "3.0.3",
"jest-transform-css": "6.0.1",
"jest-webgl-canvas-mock": "2.5.3",
"react-scripts": "5.0.1",
"ts-jest": "29.1.1",
"ts-node": "10.9.1",
"typescript": "5.2.2",
"webpack": "5.89.0",
"webpack-cli": "5.1.4"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{ts,tsx}",
"!<rootDir>/node_modules/",
"!src/**/__tests__/*"
],
"coverageThreshold": {
"global": {
"branches": 50,
"functions": 50,
"lines": 50,
"statements": 50
}
},
"coverageReporters": [
"lcov",
"json",
"text"
],
"moduleNameMapper": {
"^.+\\.(css|scss|cssmodule)$": "identity-obj-proxy"
},
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"transform": {
"\\.tsx?$": "ts-jest"
}
}
}