-
Notifications
You must be signed in to change notification settings - Fork 25
/
package.json
153 lines (153 loc) · 5.39 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
145
146
147
148
149
150
151
152
153
{
"name": "nmrium",
"description": "React component to display and process nuclear magnetic resonance (NMR) spectra.",
"version": "0.60.0",
"license": "MIT",
"type": "module",
"exports": "./lib/component/main/index.js",
"files": [
"lib",
"src"
],
"scripts": {
"build": "vite build --outDir build",
"cspell": "cspell lint \"**/*.tsx\"",
"postbuild": "rm build/data/cytisine/2d/HMBC_Cytisin_RI+FT.dx && rm build/data/cytisine/2d/HSQC_Cytisin_RI+FT.dx",
"build-cloudflare": "npm run set-version-sha && npm run build-with-profiling && npm run copy-samples-toc",
"build-no-minify": "cross-env NO_MINIFY=true npm run build",
"build-with-profiling": "cross-env WITH_PROFILING=true NO_MINIFY=true npm run build",
"check-types": "tsc --noEmit",
"compile": "tsc --project tsconfig.build.json",
"copy-samples-toc": "cp src/demo/samples.json build/",
"clean-lib": "rimraf lib",
"dev": "vite --host localhost --port 3000 --open",
"eslint": "eslint . --cache",
"eslint-fix": "npm run eslint -- --fix",
"install:clean": "rm -rf node_modules/ && rm -rf package-lock.json && npm install && npm start",
"playwright": "playwright test --ui",
"prepack": "npm run clean-lib && npm run compile",
"prepublishOnly": "npm run set-version-npm",
"prettier": "prettier --check src test-e2e",
"prettier-write": "prettier --write src test-e2e",
"set-version-npm": "VERSION=$(jq .version package.json | tr -d '\"') && echo \"export default { version: 'v$VERSION' };\" > src/versionInfo.ts",
"set-version-sha": "SHA=$(git rev-parse HEAD) && echo \"export default { version: 'git-$SHA' };\" > src/versionInfo.ts",
"start": "npm run dev",
"stylelint": "stylelint \"**/*.{css,tsx}\"",
"stylelint-fix": "npm run stylelint -- --fix",
"test": "npm run test-only && npm run eslint && npm run prettier && npm run check-types && npm run stylelint && npm run build-no-minify && npm run test-e2e",
"test-only": "vitest run --coverage",
"test-e2e": "playwright test --project chromium",
"test-e2e-server": "serve -l tcp://localhost:3000 build"
},
"bugs": {
"url": "https://github.com/cheminfo/nmrium/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cheminfo/nmrium.git"
},
"volta": {
"node": "22.9.0"
},
"peerDependencies": {
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"dependencies": {
"@blueprintjs/core": "^5.14.0",
"@blueprintjs/icons": "^5.14.0",
"@blueprintjs/select": "^5.3.1",
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0",
"@hookform/resolvers": "^3.9.1",
"@lukeed/uuid": "^2.0.1",
"cheminfo-font": "^1.13.1",
"cheminfo-types": "^1.8.1",
"clipboard-polyfill": "^4.1.0",
"convert-to-jcamp": "^5.4.11",
"d3": "^7.9.0",
"eventemitter3": "^5.0.1",
"fifo-logger": "^1.0.0",
"file-saver": "^2.0.5",
"filelist-utils": "^1.11.2",
"immer": "^10.1.1",
"jszip": "^3.10.1",
"lodash": "^4.17.21",
"mf-parser": "^3.2.5",
"ml-array-max": "^1.2.4",
"ml-array-mean": "^1.1.6",
"ml-array-median": "^1.1.6",
"ml-array-xy-equally-spaced": "^1.2.1",
"ml-baseline-correction-regression": "^2.0.1",
"ml-conrec": "^5.0.3",
"ml-gsd": "^12.1.8",
"ml-matrix": "^6.12.0",
"ml-signal-processing": "^1.1.1",
"ml-spectra-processing": "^14.6.1",
"ml-stat": "^1.3.3",
"ml-tree-similarity": "^2.2.0",
"multiplet-analysis": "^2.1.2",
"nmr-correlation": "^2.3.3",
"nmr-load-save": "^1.2.0",
"nmr-processing": "^12.12.3",
"nmredata": "^0.9.11",
"numeral": "^2.0.6",
"openchemlib": "^8.17.0",
"openchemlib-utils": "^6.4.1",
"papaparse": "^5.4.1",
"re-resizable": "6.10.1",
"react-d3-utils": "^2.0.0",
"react-dropzone": "14.2.3",
"react-error-boundary": "^4.1.2",
"react-hook-form": "^7.53.2",
"react-icons": "^5.3.0",
"react-inspector": "^6.0.2",
"react-mf": "^2.0.3",
"react-ocl": "^7.0.2",
"react-ocl-nmr": "^3.1.0",
"react-plot": "^3.0.0",
"react-rnd": "^10.4.13",
"react-science": "^9.0.1",
"react-table": "^7.8.0",
"react-transition-group": "^4.4.5",
"smart-array-filter": "^4.0.2",
"use-resize-observer": "^9.1.0",
"yup": "^1.4.0"
},
"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.25.9",
"@babel/preset-react": "^7.25.9",
"@babel/preset-typescript": "^7.26.0",
"@playwright/test": "^1.48.2",
"@simbathesailor/use-what-changed": "^2.0.0",
"@types/d3": "^7.4.3",
"@types/lodash": "^4.17.13",
"@types/node": "^22.9.0",
"@types/papaparse": "^5.3.15",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react-table": "^7.7.20",
"@vitejs/plugin-react-swc": "^3.7.1",
"@vitest/coverage-v8": "^2.1.4",
"cross-env": "^7.0.3",
"cspell": "^8.16.0",
"eslint": "^9.14.0",
"eslint-config-cheminfo-react": "^14.0.0",
"eslint-config-cheminfo-typescript": "^16.0.0",
"modern-normalize": "^3.0.1",
"postcss-styled-syntax": "^0.7.0",
"prettier": "^3.3.3",
"rc-menu": "^9.16.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.28.0",
"rimraf": "^6.0.1",
"rollup-plugin-analyzer": "^4.0.0",
"serve": "^14.2.4",
"stylelint": "^16.10.0",
"stylelint-config-standard": "^36.0.1",
"typescript": "^5.6.3",
"vite": "^5.4.11",
"vitest": "^2.1.4"
}
}