-
Notifications
You must be signed in to change notification settings - Fork 128
/
package.json
51 lines (51 loc) · 1.32 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
{
"name": "phoenix",
"version": "4.0.2",
"private": true,
"engines": {
"node": ">=22.2.0",
"npm": ">=10.8.1"
},
"devDependencies": {
"eslint-config-airbnb-base": "15.0.0",
"uglify-js": "3.18.0",
"xo": "0.58.0"
},
"scripts": {
"build": "npm run clean && npm test && npm run build:concat && npm run build:compress",
"build:compress": "uglifyjs Phoenix/$npm_package_name.js --compress --mangle --output Phoenix/$npm_package_name.min.js",
"build:concat": "cat library/src/*.js > Phoenix/$npm_package_name.js",
"clean": "rm -f Phoenix/$npm_package_name.js Phoenix/$npm_package_name.min.js",
"lint": "xo library/",
"lint:fix": "xo --fix library/",
"test": "npm run lint"
},
"xo": {
"extends": "eslint-config-airbnb-base/legacy",
"prettier": true,
"space": true,
"globals": [
"_",
"Event",
"Key",
"Modal",
"Phoenix",
"Screen",
"Space",
"Task",
"Timer",
"Window"
],
"rules": {
"no-param-reassign": "off",
"prefer-arrow-callback": "off",
"prefer-rest-params": "off",
"prefer-spread": "off",
"strict": "off",
"unicorn/prefer-module": "off",
"unicorn/prefer-reflect-apply": "off",
"unicorn/prevent-abbreviations": "off",
"vars-on-top": "off"
}
}
}