forked from sanderlab/AlignmentViewer2.0
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
141 lines (141 loc) · 4.27 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
{
"name": "@ryan-stackwave/alignment-viewer-2",
"homepage": "https://fast.alignmentviewer.org",
"version": "1.0.3",
"private": false,
"author": "Nicholas Gauthier",
"module": "dist/js/index.js",
"types": "dist/js/index.d.ts",
"contributors": [
"Andrew Diamantoukos",
"Chris Sander",
"Ryan Meyer"
],
"repository": {
"type": "git",
"url": "https://github.com/ryan-stackwave/AlignmentViewer2.0"
},
"babel": {
"presets": [
"@babel/react"
],
"plugins": [
"@babel/plugin-transform-typescript",
"babel-plugin-typescript-to-proptypes",
"@babel/plugin-proposal-export-default-from",
"@babel/proposal-class-properties",
"@babel/proposal-object-rest-spread",
"@babel/plugin-proposal-optional-chaining"
]
},
"license": "MIT",
"dependencies": {
"@inlet/react-pixi": "^3.0.0",
"ace-builds": "^1.10.0",
"css-element-queries": "^1.2.3",
"lodash": "^4.17.15",
"pixi-viewport": "4.11.x",
"pixi.js-legacy": "5.2.x",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-tooltip": "^4.2.5"
},
"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": "cross-env BABEL_ENV=cjs babel --source-maps --extensions \".ts,.tsx\" --ignore \"**/__tests__\" src --out-dir dist/js --presets=@babel/env",
"babel:esm": "cross-env BABEL_ENV=esm babel --source-maps --extensions \".ts,.tsx\" --ignore \"**/__tests__\" src --out-dir dist/esm",
"babel:umd": "cross-env 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.8.4",
"@babel/plugin-proposal-export-default-from": "^7.8.3",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"@types/enzyme": "^3.10.5",
"@types/jest": "^25.1.3",
"@types/lodash": "^4.14.150",
"@types/react": "^16.14.0",
"babel-plugin-transform-es2015-modules-umd": "^6.24.1",
"babel-plugin-typescript-to-proptypes": "^1.3.2",
"canvas": "^2.6.1",
"cross-env": "^7.0.3",
"css-loader": "^6.7.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"enzyme-to-json": "^3.4.4",
"gh-pages": "^2.2.0",
"identity-obj-proxy": "^3.0.0",
"jest-canvas-mock": "^2.2.0",
"jest-environment-jsdom-fifteen": "^1.0.2",
"jest-fetch-mock": "^3.0.2",
"jest-transform-css": "^4.0.1",
"jest-webgl-canvas-mock": "^0.2.3",
"mini-css-extract-plugin": "^2.6.1",
"node-sass": "^7.0.3",
"react-scripts": "^5.0.1",
"sass-loader": "^13.0.2",
"source-map-loader": "^4.0.0",
"ts-jest": "^25.2.1",
"ts-node": "^9.0.0",
"typescript": "^3.7.5",
"webpack-cli": "^4.1.0"
},
"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"
}
}
}