/
package.json
78 lines (78 loc) · 2.41 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
{
"name": "reviz",
"version": "0.1.0",
"description": "An engine for reverse engineering data visualizations from the DOM.",
"main": "dist/reviz.js",
"module": "dist/reviz.esm.js",
"types": "dist/types/index.d.ts",
"contributors": [
{
"name": "Parker Ziegler",
"email": "peziegler@berkeley.edu",
"url": "https://parkie-doo.sh/"
},
{
"name": "Logan Caraco",
"email": "logan_caraco@berkeley.edu"
}
],
"license": "MIT",
"scripts": {
"build": "yarn check:ts && yarn emit:types && yarn build:esm:dev && yarn build:esm:prod && yarn build:cjs:dev && yarn build:cjs:prod",
"build:esm:dev": "esbuild src/index.ts --bundle --sourcemap --format=esm --outfile=dist/reviz.esm.js",
"build:esm:prod": "esbuild src/index.ts --bundle --minify --format=esm --outfile=dist/reviz.esm.min.js",
"build:cjs:dev": "esbuild src/index.ts --bundle --sourcemap --format=cjs --outfile=dist/reviz.js",
"build:cjs:prod": "esbuild src/index.ts --bundle --minify --outfile=dist/reviz.min.js",
"check:ts": "tsc --noEmit",
"clean": "rimraf ./dist ./node_modules/.cache",
"emit:types": "tsc --declaration --emitDeclarationOnly --outDir dist/types",
"format": "prettier --write **/*.{ts,tsx} **/*.json",
"lint": "eslint . --ext .ts,.tsx",
"preversion": "yarn clean && yarn check:ts && yarn build"
},
"files": [
"README.md",
"CHANGELOG.md",
"LICENSE",
"dist/",
"!dist/types/tsconfig.tsbuildinfo"
],
"dependencies": {
"d3-array": "^3.1.1",
"lodash.camelcase": "^4.3.0",
"lodash.groupby": "^4.6.0",
"lodash.isplainobject": "^4.0.6",
"lodash.overevery": "^4.7.0"
},
"devDependencies": {
"@types/d3-array": "^3.0.2",
"@types/lodash.camelcase": "^4.3.6",
"@types/lodash.groupby": "^4.6.6",
"@types/lodash.isplainobject": "^4.0.6",
"@types/lodash.overevery": "^4.7.6",
"@types/node": "^16.11.6",
"@typescript-eslint/eslint-plugin": "^5.1.0",
"@typescript-eslint/parser": "^5.1.0",
"esbuild": "^0.13.8",
"eslint": "^8.0.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.2",
"prettier": "^2.4.1",
"rimraf": "^3.0.2",
"typescript": "^4.4.4"
},
"prettier": {
"singleQuote": true,
"trailingComma": "es5",
"overrides": [
{
"files": [
"**/*.css"
],
"options": {
"singleQuote": false
}
}
]
}
}