-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
152 lines (152 loc) · 5.21 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
{
"name": "seisplotjs",
"version": "3.1.5-SNAPSHOT",
"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.1",
"d3-array": "^3.2.2",
"d3-axis": "^3.0.0",
"d3-format": "^3.1.0",
"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",
"d3-zoom": "^3.0.0",
"handlebars": "^4.7.8",
"jszip": "^3.7.1",
"leaflet": "^1.7.1",
"luxon": "^3.0.1",
"oregondsp": "^1.3.1",
"querystringify": "^2.2.0"
},
"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' --ext .js,.jsx,.ts,.tsx ",
"lint": "eslint src test testremotes --ext .js,.jsx,.ts,.tsx ",
"examplelint": "eslint -c .eslintrc.js 'docs/examples/viewobspy/www/[otv]*.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 dts_node) || 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",
"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 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",
"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": "https://github.com/crotwell/seisplotjs.git"
},
"keywords": [
"seismology",
"earthquake",
"miniseed",
"fdsn",
"iris"
],
"author": "Philip Crotwell <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/crotwell/seisplotjs/issues"
},
"homepage": "http://crotwell.github.io/seisplotjs/",
"devDependencies": {
"@types/d3-array": "^3.0.5",
"@types/d3-axis": "^3.0.2",
"@types/d3-format": "^3.0.1",
"@types/d3-scale": "^4.0.3",
"@types/d3-selection": "^3.0.5",
"@types/d3-shape": "^3.1.1",
"@types/d3-time": "^3.0.0",
"@types/d3-time-format": "^4.0.0",
"@types/d3-transition": "^3.0.3",
"@types/d3-zoom": "^3.0.3",
"@types/geojson": "^7946.0.10",
"@types/jest": "^29.5.11",
"@types/leaflet": "^1.7.9",
"@types/luxon": "^3.0.0",
"@types/querystringify": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^7.10.0",
"@typescript-eslint/parser": "^7.10.0",
"cross-fetch": "^4.0.0",
"documentation": "^14.0.0",
"esbuild": "^0.21.3",
"esbuild-jest": "^0.5.0",
"eslint": "^8.57.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^28.5.0",
"eslint-plugin-jsdoc": "^48.2.5",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"genversion": "^3.1.1",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-expect-message": "^1.1.3",
"jest-extended": "^4.0.0",
"jest-html-reporters": "^3.1.7",
"npm-dts": "^1.3.12",
"prismjs": "^1.26.0",
"replace-in-file": "^7.0.1",
"resize-observer-polyfill": "^1.5.1",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
}
}