-
Notifications
You must be signed in to change notification settings - Fork 57
/
package.json
103 lines (103 loc) · 3.17 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
{
"name": "detect-gpu",
"version": "5.0.47",
"description": "Classify GPU's based on their benchmark score in order to provide an adaptive experience.",
"author": "Tim van Scherpenzeel",
"license": "MIT",
"main": "dist/detect-gpu.umd.js",
"module": "dist/detect-gpu.esm.js",
"types": "dist/src/index.d.ts",
"homepage": "https://github.com/pmndrs/detect-gpu#readme",
"bugs": {
"url": "https://github.com/pmndrs/detect-gpu/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/pmndrs/detect-gpu.git"
},
"files": [
"dist"
],
"keywords": [
"gpu",
"detect",
"webgl",
"webgl2",
"three.js",
"babylonjs",
"three",
"babylon",
"3d",
"typescript",
"javascript"
],
"scripts": {
"start": "rollup -c rollup/config.lib.ts -w --configPlugin rollup-plugin-typescript2",
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\" \"test/**/*.test.ts\" \"rollup/**/*.ts\" \"scripts/**/*.ts\" \"scripts/**/*.js\" --fix --cache --cache-location ~/.eslintcache/eslintcache",
"test": "jest --verbose=false",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:debug": "node --inspect-brk ./node_modules/jest/bin/jest --runInBand --no-cache --watch",
"prebuild": "rimraf dist",
"build": "rollup -c rollup/config.lib.ts --configPlugin rollup-plugin-typescript2",
"example": "rollup -w -c rollup/config.dev.ts --configPlugin rollup-plugin-typescript2",
"parse-analytics": "node ./scripts/analytics_parser.js",
"update-benchmarks": "rimraf benchmarks && mkdir -p benchmarks && mkdir -p benchmarks-min && ts-node -O '{\"module\":\"commonjs\"}' ./scripts/update_benchmarks.ts && tar -czvf benchmarks.tar.gz benchmarks-min/*.json && rm -rf benchmarks-min"
},
"dependencies": {
"webgl-constants": "^1.1.1"
},
"devDependencies": {
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.1.0",
"@types/jest": "^29.5.3",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.4.0",
"csvtojson": "^2.0.10",
"eslint": "^8.4.1",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.6.2",
"jest-environment-jsdom": "^29.6.2",
"moment": "^2.29.1",
"prettier": "^3.0.1",
"puppeteer": "^13.0.0",
"rimraf": "^5.0.1",
"rollup": "^3.28.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-filesize": "^10.0.0",
"rollup-plugin-livereload": "^2.0.0",
"rollup-plugin-serve": "^2.0.2",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.31.1",
"ts-jest": "^29.1.1",
"ts-node": "^10.0.0",
"typescript": "^5.1.6"
},
"jest": {
"testEnvironmentOptions": {
"url": "http://localhost"
},
"moduleFileExtensions": [
"js",
"ts"
],
"testMatch": [
"**/test/**/*.test.ts"
],
"testPathIgnorePatterns": [
"<rootDir>/test/data.ts"
],
"preset": "ts-jest",
"transform": {
"^.+\\.tsx?$": [
"ts-jest",
{
"tsconfig": "tsconfig.json"
}
]
}
}
}