forked from crotwell/seisplotjs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
126 lines (126 loc) · 4.54 KB
/
Copy pathpackage.json
File metadata and controls
126 lines (126 loc) · 4.54 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
{
"name": "seisplotjs",
"version": "3.1.1",
"description": "Javascript library for parsing, manipulating and displaying seismic data.",
"module": "./dist/index.esm.js",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"browser": "./dist/index.esm.js",
"types": "./dist/index.d.ts",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.esm.js"
}
},
"files": [
"./dist/index.js",
"./dist/index.esm.js",
"./dist/index.d.ts",
"src/*.ts"
],
"dependencies": {
"convert-units": "^3.0.0-beta.5",
"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-zoom": "^3.0.0",
"handlebars": "^4.7.8",
"jszip": "^3.7.1",
"leaflet": "^1.7.1",
"luxon": "^3.0.1",
"oregondsp": "^1.3.0",
"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 --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'",
"test": "jest --config=jest.config.cjs",
"livetest": "jest --config=jest.config.live.cjs",
"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",
"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 livetest && 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"
},
"repository": {
"type": "git",
"url": "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": "https://github.com/crotwell/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.2",
"@types/leaflet": "^1.7.9",
"@types/luxon": "^3.0.0",
"@types/querystringify": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"documentation": "^14.0.0",
"esbuild": "^0.19.2",
"esbuild-jest": "^0.5.0",
"eslint": "^8.13.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^27.0.1",
"eslint-plugin-jsdoc": "^46.4.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.0",
"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",
"node-fetch": "^2.6.9",
"npm-dts": "^1.3.12",
"prismjs": "^1.26.0",
"replace-in-file": "^7.0.1",
"resize-observer-polyfill": "^1.5.1",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
}
}