This repository has been archived by the owner on Jan 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 192
/
package.json
122 lines (122 loc) · 2.78 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
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "pixi-examples",
"version": "5.0.0",
"description": "Examples for PixiJS and related plugins",
"author": "PixiJS Team",
"private": true,
"source": "./src/index.html",
"license": "MIT",
"homepage": "https://github.com/pixijs/examples#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/pixijs/examples.git"
},
"bugs": {
"url": "https://github.com/pixijs/examples/issues"
},
"scripts": {
"clean": "rimraf dist/*",
"copy": "copyfiles -u 1 \"public/**/*\" dist",
"prebuild": "run-s lint clean copy",
"build": "parcel build --public-url ./",
"prewatch": "run-s copy",
"watch": "parcel serve --open",
"lint": "eslint src/**/*.js public/examples/**/*.js --max-warnings 0",
"lintfix": "npm run lint -- --fix",
"predeploy": "run-s build",
"deploy": "gh-pages -d . -s \"{dist}/**\""
},
"pre-commit": [
"lint"
],
"devDependencies": {
"@parcel/transformer-less": "^2.7.0",
"copyfiles": "^2.4.1",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.20.1",
"gh-pages": "^4.0.0",
"npm-run-all": "^4.1.5",
"parcel": "^2.7.0",
"pre-commit": "^1.2.2",
"rimraf": "^3.0.2"
},
"eslintConfig": {
"env": {
"browser": true,
"es6": true
},
"extends": "airbnb-base",
"globals": {
"dragonBones": "readonly",
"ga": "readonly",
"gsap": "readonly",
"jQuery": "readonly",
"Atomics": "readonly",
"BASIS": "readonly",
"CodeMirror": "readonly",
"Linear": "readonly",
"PIXI": "readonly",
"TWEEDLE": "readonly",
"Quart": "readonly",
"SharedArrayBuffer": "readonly",
"TweenMax": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"indent": [
1,
4,
{
"SwitchCase": 1,
"VariableDeclarator": {
"var": 1,
"let": 1,
"const": 1
}
}
],
"linebreak-style": 0,
"max-classes-per-file": [
2,
2
],
"max-len": [
1,
{
"code": 200,
"tabWidth": 4
}
],
"no-bitwise": 0,
"no-console": 0,
"no-mixed-operators": 0,
"no-multi-assign": 0,
"no-param-reassign": 0,
"no-plusplus": 0,
"no-restricted-syntax": [
"error",
"ForInStatement",
"LabeledStatement",
"WithStatement"
],
"no-use-before-define": 0,
"no-underscore-dangle": [
2,
{
"allowAfterThis": true
}
],
"no-unused-vars": [
"error",
{
"args": "none"
}
],
"prefer-destructuring": 0
}
}
}