-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
115 lines (115 loc) · 2.7 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
{
"name": "@wfcd/profile-parser",
"version": "0.0.0",
"description": "Parser for Digital Extreme's profile data",
"type": "module",
"main": "src/ProfileParser.js",
"exports": {
".": {
"import": "./src/ProfileParser.js",
"types": "./types/index.d.ts"
},
"./XpInfo": {
"import": "./src/XpInfo.js",
"types": "./types/index.d.ts"
},
"./Stats": {
"import": "./src/Stats.js",
"types": "./types/index.d.ts"
},
"./Profile": {
"import": "./src/Profile.js",
"types": "./types/index.d.ts"
}
},
"public": true,
"files": [
"src",
"LICENSE",
"README.md",
"types"
],
"devDependencies": {
"@types/chai": "^4.3.14",
"@wfcd/eslint-config": "^1.6.1",
"c8": "^9.1.0",
"chai": "^5.1.0",
"chai-json-equal": "^0.0.1",
"coveralls": "^3.1.1",
"husky": "^9.0.11",
"install-peerdeps": "^3.0.3",
"lint-staged": "^15.2.2",
"mocha": "^10.3.0",
"typescript": "^5.4.3"
},
"scripts": {
"test": "c8 mocha",
"coverage": "npm test && c8 report --reporter=text-lcov | coveralls",
"lint": "eslint src/",
"lint:fix": "eslint src/ test/ --fix",
"prepublishOnly": "npm run build:types",
"build:docs": "jsdoc -c .github/docs/conf.json -d docs",
"build:types": "tsc -p tsconfig.declaration.json",
"prepare": "husky && if [ \"$NODE_ENV\" = \"dev\" ] ; then npx -p install-peerdeps@latest install-peerdeps @wfcd/eslint-config@latest -S ; fi"
},
"author": "SlayerOrnstein",
"license": "MIT",
"engines": {
"node": ">=20.0.0"
},
"eslintConfig": {
"extends": "@wfcd/eslint-config/esm",
"parser": "@babel/eslint-parser",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 6,
"ecmaFeatures": {
"modules": true
},
"babelOptions": {
"plugins": [
"@babel/plugin-transform-class-properties",
"@babel/plugin-transform-private-methods"
]
}
}
},
"babel": {
"presets": [
"@babel/preset-env"
],
"plugins": [
"@babel/plugin-transform-class-properties",
"@babel/plugin-transform-private-methods"
]
},
"prettier": "@wfcd/eslint-config/prettier",
"mocha": {
"exit": true,
"spec": "test/**/*.spec.js"
},
"c8": {
"reporter": [
"lcov",
"text"
],
"skip-full": true
},
"peerDependencies": {
"warframe-items": "^1.1262.30",
"warframe-worldstate-data": "^2.5.0"
},
"lint-staged": {
"*.js": [
"eslint --cache --fix",
"npm test"
],
"package*.json": [
"prettier --write",
"npm -q --no-progress dedupe"
],
"*.{json,md,yaml},!test/data/*.json": [
"prettier --write"
]
}
}