forked from pmndrs/detect-gpu
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
72 lines (72 loc) · 1.98 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
{
"name": "detect-gpu",
"version": "1.1.4",
"description": "Classify GPU's based on their benchmark score in order to provide an adaptive experience.",
"main": "dist/detect-gpu.cjs.js",
"browser": "dist/detect-gpu.umd.js",
"module": "dist/detect-gpu.esm.js",
"jsnext:main": "dist/detect-gpu.esm.js",
"types": "dist/types/index.d.ts",
"scripts": {
"start": "rollup -c rollup.config.ts -w",
"lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'",
"test": "jest --verbose=false",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"prebuild": "rimraf dist",
"build": "tsc --module commonjs && rollup -c rollup.config.ts",
"parse-analytics": "node ./scripts/analytics_parser.js",
"update-benchmarks": "node ./scripts/update_benchmarks.js"
},
"author": "Tim van Scherpenzeel",
"dependencies": {
"detect-ua": "^0.0.12"
},
"devDependencies": {
"@types/jest": "^24.0.22",
"@types/webgl2": "^0.0.5",
"csvtojson": "^2.0.10",
"jest": "^24.9.0",
"jssoup": "^0.0.10",
"moment": "^2.24.0",
"node-fetch": "^2.6.0",
"prettier": "^1.18.2",
"rimraf": "^3.0.0",
"rollup": "^1.26.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-filesize": "^6.2.1",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^5.1.2",
"rollup-plugin-typescript2": "^0.25.2",
"ts-jest": "^24.1.0",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.7.2"
},
"prettier": {
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"printWidth": 100
},
"jest": {
"testURL": "http://localhost",
"moduleFileExtensions": [
"js",
"ts",
"tsx"
],
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.json"
}
},
"testMatch": [
"**/test/**/*.+(ts|tsx|js)"
],
"testPathIgnorePatterns": [
"<rootDir>/test/data.ts"
],
"preset": "ts-jest"
}
}