-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
61 lines (61 loc) · 1.89 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
{
"name": "@cdgugler/shatter",
"version": "2.0.1",
"author": "Cory Gugler <cory.gugler@gmail.com> (https://www.addlime.com)",
"scripts": {
"build": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && npm run buildexample",
"buildexample": "parcel build examples/js/*.js -d examples/js/build/",
"prepublishOnly": "npm run build",
"test": "jest",
"e2e": "concurrently \"npx http-server examples/\" \"cypress open\"",
"e2eupdate": "concurrently \"npx http-server examples/\" \"cypress open --env updateSnapshots=true\"",
"testreport": "npx http-server jest-screenshot-report/"
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"files": [
"dist/"
],
"jest": {
"rootDir": "./test/unit"
},
"browserslist": [
"last 3 and_chr versions",
"last 3 chrome versions",
"last 3 opera versions",
"last 3 ios_saf versions",
"last 3 safari versions"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
},
"dependencies": {
"@types/d3-voronoi": "^1.1.9",
"d3-voronoi": "^1.1.4"
},
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/preset-env": "^7.12.1",
"@babel/preset-typescript": "^7.12.1",
"@types/jest": "^26.0.15",
"babel-jest": "^26.6.1",
"concurrently": "^5.3.0",
"cypress": "^5.5.0",
"cypress-image-diff-js": "^1.6.0",
"cypress-image-snapshot": "^3.1.1",
"fs-extra": "^9.0.1",
"http-server": "^0.12.3",
"husky": "^4.3.0",
"jest": "^26.6.1",
"jest-screenshot": "^0.3.1",
"lint-staged": "^10.5.0",
"parcel": "^1.12.4",
"prettier": "2.1.2",
"typescript": "^4.0.5"
}
}