warframe-nexus-query 2.0.1 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +96 -68
package/package.json CHANGED
@@ -1,72 +1,74 @@
1
1
  {
2
2
  "name": "warframe-nexus-query",
3
- "version": "2.0.1",
3
+ "version": "2.1.0",
4
4
  "description": "Query prices form nexus-stats.com and warframe.market.",
5
- "type": "module",
6
- "main": "index.js",
7
- "scripts": {
8
- "test": "c8 mocha",
9
- "coverage": "npm test && c8 report --reporter=text-lcov | coveralls",
10
- "build:docs": "jsdoc -c jsdoc-config.json -d docs",
11
- "lint": "eslint index.js lib/ test/",
12
- "lint:fix": "eslint index.js lib/ test/ --fix",
13
- "postinstall": "install-peerdeps @wfcd/eslint-config@^1.5.0 -S"
14
- },
15
- "files": [
16
- "lib",
17
- "index.js",
18
- "basedir.js"
19
- ],
20
- "directories": {
21
- "test": "test"
22
- },
23
- "repository": {
24
- "type": "git",
25
- "url": "https://github.com/WFCD/warframe-nexus-query.git"
26
- },
27
5
  "keywords": [
28
6
  "warframe",
29
7
  "trading",
30
8
  "warframe-nexus",
31
9
  "warframe-trading"
32
10
  ],
33
- "author": "tobitenno",
34
- "license": "Apache-2.0",
11
+ "homepage": "https://github.com/WFCD/warframe-nexus-query#README",
35
12
  "bugs": {
36
13
  "url": "https://github.com/WFCD/warframe-nexus-query/issues"
37
14
  },
38
- "homepage": "https://github.com/WFCD/warframe-nexus-query#README",
39
- "dependencies": {
40
- "get-image-colors": "^4.0.1",
41
- "image-downloader": "^4.0.2",
42
- "json-fetch-cache": "^1.2.6",
43
- "json-query": "^2.2.2",
44
- "node-md-config": "^2.0.1",
45
- "numeral": "^2.0.6"
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "https://github.com/WFCD/warframe-nexus-query.git"
46
18
  },
47
- "devDependencies": {
48
- "@types/json-query": "^2.2.0",
49
- "@wfcd/eslint-config": "^1.5.0",
50
- "c8": "^9.1.0",
51
- "chai": "^5.0.3",
52
- "coveralls": "^3.1.1",
53
- "install-peerdeps": "^3.0.3",
54
- "mocha": "^10.2.0"
19
+ "license": "Apache-2.0",
20
+ "author": "tobitenno",
21
+ "type": "module",
22
+ "main": "index.js",
23
+ "directories": {
24
+ "test": "test"
55
25
  },
56
- "engines": {
57
- "node": ">=18",
58
- "npm": ">=8.19"
26
+ "files": [
27
+ "lib",
28
+ "index.js",
29
+ "basedir.js"
30
+ ],
31
+ "scripts": {
32
+ "build:docs": "jsdoc -c jsdoc-config.json -d docs",
33
+ "coverage": "npm test && c8 report --reporter=text-lcov | coveralls",
34
+ "lint": "eslint index.js lib/ test/",
35
+ "lint:fix": "eslint index.js lib/ test/ --fix",
36
+ "prepare": "husky && npx install-peerdeps @wfcd/eslint-config@latest -S",
37
+ "test": "c8 mocha"
59
38
  },
60
- "release": {
61
- "branch": "master"
39
+ "commitlint": {
40
+ "extends": [
41
+ "@commitlint/config-conventional"
42
+ ],
43
+ "rules": {
44
+ "body-max-line-length": [
45
+ 0
46
+ ]
47
+ }
48
+ },
49
+ "lint-staged": {
50
+ "*.js": [
51
+ "eslint --cache --fix"
52
+ ],
53
+ "package*.json": [
54
+ "prettier --write",
55
+ "npm dedupe",
56
+ "npx sort-package-json"
57
+ ],
58
+ "*.{json,yaml,yml},!package*.json": [
59
+ "prettier --write"
60
+ ]
61
+ },
62
+ "babel": {
63
+ "plugins": [
64
+ "@babel/plugin-transform-class-properties",
65
+ "@babel/plugin-transform-private-methods"
66
+ ],
67
+ "presets": [
68
+ "@babel/preset-env"
69
+ ]
62
70
  },
63
71
  "prettier": "@wfcd/eslint-config/prettier",
64
- "eslintIgnore": [
65
- ".github/**",
66
- "docs/**",
67
- "resources/**",
68
- "types/**"
69
- ],
70
72
  "eslintConfig": {
71
73
  "extends": "@wfcd/eslint-config/esm",
72
74
  "rules": {
@@ -80,31 +82,57 @@
80
82
  ]
81
83
  }
82
84
  },
83
- "babel": {
84
- "presets": [
85
- "@babel/preset-env"
86
- ],
87
- "plugins": [
88
- "@babel/plugin-proposal-class-properties",
89
- "@babel/plugin-proposal-private-methods"
90
- ]
85
+ "eslintIgnore": [
86
+ ".github/**",
87
+ "docs/**",
88
+ "resources/**",
89
+ "types/**"
90
+ ],
91
+ "release": {
92
+ "branch": "master"
91
93
  },
92
94
  "mocha": {
93
- "spec": "test/test.js",
94
- "timeout": 30000,
95
95
  "bail": true,
96
96
  "exit": true,
97
- "slow": 10000
97
+ "slow": 10000,
98
+ "spec": "test/test.js",
99
+ "timeout": 30000
98
100
  },
99
101
  "c8": {
102
+ "exclude": [
103
+ "test/*",
104
+ "lib/nexus/*"
105
+ ],
100
106
  "reporter": [
101
107
  "lcov",
102
108
  "text"
103
109
  ],
104
- "skip-full": true,
105
- "exclude": [
106
- "test/*",
107
- "lib/nexus/*"
108
- ]
110
+ "skip-full": true
111
+ },
112
+ "dependencies": {
113
+ "get-image-colors": "^4.0.1",
114
+ "image-downloader": "^4.0.2",
115
+ "json-fetch-cache": "^1.2.6",
116
+ "json-query": "^2.2.2",
117
+ "node-md-config": "^2.0.1",
118
+ "numeral": "^2.0.6"
119
+ },
120
+ "devDependencies": {
121
+ "@commitlint/cli": "^19.2.1",
122
+ "@commitlint/config-conventional": "^19.1.0",
123
+ "@types/json-query": "^2.2.0",
124
+ "@wfcd/eslint-config": "^1.6.1",
125
+ "c8": "^10.1.2",
126
+ "chai": "^5.0.3",
127
+ "coveralls": "^3.1.1",
128
+ "husky": "^9.0.11",
129
+ "install-peerdeps": "^3.0.3",
130
+ "lint-staged": "^15.2.2",
131
+ "mocha": "^11.0.1",
132
+ "prettier": "^3.2.5"
133
+ },
134
+ "engines": {
135
+ "node": ">=18",
136
+ "npm": ">=8.19"
109
137
  }
110
138
  }