-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
110 lines (110 loc) · 3.26 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
104
105
106
107
108
109
110
{
"name": "theorajs",
"version": "0.0.0-dev",
"description": "Ogg/Theora decoder in JavaScript",
"repository": {
"type": "git",
"url": "git+https://github.com/lo1tuma/theorajs.git"
},
"author": "Mathias Schreck <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/lo1tuma/theorajs/issues"
},
"homepage": "https://github.com/lo1tuma/theorajs#readme",
"files": [
"LICENSE"
],
"devDependencies": {
"@types/node": "11.13.6",
"@types/pixelmatch": "4.0.0",
"@types/pngjs": "3.3.2",
"@typescript-eslint/eslint-plugin": "1.6.0",
"@typescript-eslint/parser": "1.6.0",
"ava": "1.4.1",
"eslint": "6.0.0-alpha.0",
"eslint-config-xo-typescript": "0.9.0",
"eslint-import-resolver-node": "0.3.2",
"pixelmatch": "4.0.2",
"pngjs": "3.4.0",
"ts-loader": "5.4.3",
"typescript": "3.4.4",
"webpack": "4.30.0",
"webpack-cli": "3.3.1",
"xo": "0.24.0"
},
"scripts": {
"lint": "xo",
"compile": "tsc --build",
"build": "pnpm run compile && webpack",
"copy:fixtures": "cp -R test/fixtures build/test/fixtures",
"test-setup": "pnpm run compile && pnpm run copy:fixtures",
"pretest:unit": "pnpm run test-setup",
"test:unit": "ava build/test/unit/**/*.test.js",
"pretest:integration": "pnpm run test-setup",
"test:integration": "ava build/test/integration/**/*.test.js",
"pretest:bench": "pnpm run test-setup",
"test:bench": "ava build/test/benchmarks/**/*.bench.js --verbose",
"test": "pnpm run lint && pnpm run test:unit && pnpm run test:integration && pnpm run test:bench"
},
"xo": {
"space": 4,
"prettier": true,
"nodeVersion": "11",
"extensions": [
"js",
"ts"
],
"rules": {
"unicorn/filename-case": [
"error",
{
"case": "camelCase"
}
],
"object-curly-spacing": [
"error",
"always"
],
"ava/no-ignored-test-files": "off",
"no-negated-condition": "off"
},
"overrides": [
{
"files": "**/*.ts",
"extends": "xo-typescript",
"rules": {
"@typescript-eslint/indent": [
"error",
4,
{
"SwitchCase": 1
}
],
"@typescript-eslint/member-naming": "off"
}
},
{
"files": "test/**/*",
"envs": [
"node"
]
},
{
"files": "src/browser/dom/**/*",
"envs": [
"browser"
]
},
{
"files": "src/browser/worker/**/*",
"envs": [
"worker"
]
}
]
},
"ava": {
"snapshotDir": "test/integration/snapshots"
}
}