Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 2.05 KB
/
Copy pathpackage.json
File metadata and controls
76 lines (76 loc) · 2.05 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
{
"name": "@noonat/intersect",
"version": "0.1.0",
"description": "Example code for simple collision detection",
"keywords": [
"collision",
"collision-detection",
"intersection",
"aabb",
"sweep",
"2d",
"games"
],
"license": "Zlib",
"homepage": "https://github.com/noonat/intersect",
"repository": {
"type": "git",
"url": "https://github.com/noonat/intersect.git"
},
"scripts": {
"build": "node build.js",
"clean": "rimraf src/intersect.ts lib/intersect.js* docs/bundle.js* docs/bundle.css* docs/*.ttf docs/*.woff docs/*.woff2",
"prepare": "npm run build",
"test": "jest && eslint src test playwright.config.ts && tsc --project tsconfig.visual.json",
"test:visual": "playwright test",
"test:visual:update": "playwright test --update-snapshots",
"test:visual:update:docker": "docker run --rm -v \"$PWD\":/work -v intersect-visual-modules:/work/node_modules -w /work mcr.microsoft.com/playwright:v1.56.0-noble sh -c \"npm ci --ignore-scripts && npx playwright test --update-snapshots\""
},
"main": "lib/intersect.js",
"types": "lib/intersect.d.ts",
"files": [
"lib",
"src/intersect.ts",
"src/intersect.ts.md"
],
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@playwright/test": "1.56.0",
"@types/jest": "^30.0.0",
"@types/katex": "^0.16.8",
"@types/node": "^26.1.2",
"docco": "^0.9.2",
"esbuild": "^0.28.1",
"eslint": "^10.8.0",
"eslint-config-prettier": "^10.1.8",
"jest": "^30.4.2",
"markdown-it": "^15.0.0",
"prettier": "^3.9.6",
"rimraf": "^6.1.3",
"ts-jest": "^29.4.12",
"typescript": "~6.0.3",
"typescript-eslint": "^8.66.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"jsx",
"ts",
"tsx"
],
"transform": {
"\\.(ts|tsx)$": "ts-jest"
},
"testRegex": "/test/.*\\.(ts|tsx|js|jsx)$",
"testPathIgnorePatterns": [
"/node_modules/",
"/test/visual/"
]
},
"dependencies": {
"katex": "^0.18.1"
}
}