-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
157 lines (157 loc) · 5.4 KB
/
package.json
File metadata and controls
157 lines (157 loc) · 5.4 KB
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
154
155
156
157
{
"name": "seisplotjs",
"version": "3.2.2",
"description": "Javascript library for parsing, manipulating and displaying seismic data.",
"sideEffects": [
"animatedseismograph",
"axisutil",
"components",
"cssutil",
"datechooser",
"handlebarshelpers",
"helicorder",
"infotable",
"leafletutil",
"leaflet",
"organizeddisplay",
"particlemotion",
"seismograph",
"seismographutil",
"seismographconfig",
"seismographconfigeditor",
"spectraplot"
],
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"node": "./dist/index_node.mjs",
"import": "./dist/index.mjs"
},
"./nodeonly": {
"types": "./dist/index_node.d.ts",
"import": "./dist/index_node.mjs"
},
"./package.json": "./package.json"
},
"files": [
"./dist/index.js",
"./dist/index.mjs",
"./dist/index.d.ts",
"./dist/index_node.mjs",
"./dist/index_node.d.ts",
"src/*.ts"
],
"dependencies": {
"convert-units": "^3.0.0-beta.6",
"crc-32": "^1.2.2",
"d3-array": "^3.2.4",
"d3-axis": "^3.0.0",
"d3-dsv": "^3.0.1",
"d3-format": "^3.1.2",
"d3-scale": "^4.0.2",
"d3-selection": "^3.0.0",
"d3-shape": "^3.2.0",
"d3-time": "^3.1.0",
"d3-time-format": "^4.1.0",
"d3-transition": "^3.0.1",
"handlebars": "^4.7.8",
"jszip": "^3.10.1",
"leaflet": "^1.9.4",
"luxon": "^3.7.2",
"oregondsp": "^1.3.1",
"querystringify": "^2.2.0",
"zod": "^4.3.6"
},
"scripts": {
"esstandalone": "npx esbuild src/index.ts --bundle --outfile=dist/seisplotjs_${npm_package_version}_standalone.mjs --target=es2020 --format=esm",
"esmb": "node build.mjs",
"srclint": "eslint src/* ",
"testlint": "eslint -c eslint_test.config.mjs test/** testremotes/**",
"lint": "npm run srclint && npm run testlint",
"examplelint": "eslint -c .eslintrc.js'docs/examples/*/[a-r]*.js' 'docs/examples/*/s[t-z]*.js'",
"publint": "npx publint",
"test": "jest",
"testremotes": "jest --config=jest_remote.config.js",
"build:clean": "rimraf dist docs/seisplotjs_${npm_package_version}_standalone.mjs",
"apidoc:clean": "rimraf docs/api",
"compile": "npm run build:clean && npm run version_to_src && npm run esmb && npm run standalone && ((npm run dts ) || npm run tsc)",
"tutorial_snippet": "python3 snippetToTutorial.py",
"standalone": "npm run esstandalone && cp dist/seisplotjs_${npm_package_version}_standalone.mjs docs/.",
"doc": "npm run standalone && npm run apidoc && npm run tutorial_snippet ",
"apidoc": "npm run apidoc:clean && ./createApiDocs.sh",
"prepare": "npm run compile && npm run dts_node ",
"version": "npm run compile && npm run bumpversion && npm run doc",
"version_to_src": "genversion --semi --es6 src/version.ts",
"postversion": "echo remember: git push && echo remember: git push --tags",
"bumpversion": "python3 replaceVersion.py && echo ${npm_package_version} > VERSION",
"doingdevelopment": "git update-index --skip-worktree docs/api/*.html",
"prepublishOnly": "npm run compile && npm run tsc && npm run dts_node && npm run publint && npm run test && npm run testremotes && echo skip npm outdated && echo skip lint && git update-index --no-skip-worktree docs/api/*.html && git diff --exit-code",
"servedocs": "npx http-server ./docs -c-1 --cors -a 127.0.0.1",
"tsc": "tsc --project tsconfig.json && tsc --project tsconfig_test.json",
"dts": "npx npm-dts generate --output dist/index.d.ts",
"dts_node": "npx npm-dts generate --entry src/index_node.ts --output dist/index_node.d.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/crotwell/seisplotjs.git"
},
"keywords": [
"seismology",
"earthquake",
"miniseed",
"fdsn",
"iris"
],
"author": "Philip Crotwell <crotwell@seis.sc.edu>",
"license": "MIT",
"bugs": {
"url": "https://github.com/crotwell/seisplotjs/issues"
},
"homepage": "http://crotwell.github.io/seisplotjs/",
"devDependencies": {
"@eslint/js": "^9.12.0",
"@types/d3-array": "^3.2.2",
"@types/d3-axis": "^3.0.6",
"@types/d3-dsv": "^3.0.7",
"@types/d3-format": "^3.0.4",
"@types/d3-scale": "^4.0.9",
"@types/d3-selection": "^3.0.11",
"@types/d3-shape": "^3.1.8",
"@types/d3-time": "^3.0.4",
"@types/d3-time-format": "^4.0.3",
"@types/d3-transition": "^3.0.9",
"@types/d3-zoom": "^3.0.8",
"@types/eslint__js": "^8.42.3",
"@types/geojson": "^7946.0.16",
"@types/jest": "^30.0.0",
"@types/leaflet": "^1.9.21",
"@types/luxon": "^3.7.1",
"@types/querystringify": "^2.0.2",
"@typescript-eslint/eslint-plugin": "^8.0.1",
"@typescript-eslint/parser": "^8.0.1",
"cross-fetch": "^4.1.0",
"documentation": "^14.0.3",
"esbuild": "^0.27.3",
"eslint": "^9.39.3",
"eslint-plugin-jest": "^29.15.0",
"eslint-plugin-jsdoc": "^62.7.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^7.2.1",
"genversion": "^3.2.0",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"jest-expect-message": "^1.1.3",
"jest-extended": "^7.0.0",
"jest-html-reporters": "^3.1.7",
"npm-dts": "^1.3.13",
"prismjs": "^1.30.0",
"replace-in-file": "^8.4.0",
"resize-observer-polyfill": "^1.5.1",
"rimraf": "^6.1.3",
"ts-jest": "^29.4.6",
"ts-node": "^10.9.2",
"typescript": "^5.9.3",
"typescript-eslint": "^8.56.1"
}
}