warframe-nexus-query 2.0.2 → 2.1.1

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,71 @@
1
1
  {
2
2
  "name": "warframe-nexus-query",
3
- "version": "2.0.2",
3
+ "version": "2.1.1",
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": "if [ \"$NODE_ENV\" = \"dev\" ] ; then npx -p install-peerdeps@latest install-peerdeps @wfcd/eslint-config@latest -S ; fi"
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": "https://github.com/WFCD/warframe-nexus-query",
16
+ "license": "Apache-2.0",
17
+ "author": "tobitenno",
18
+ "type": "module",
19
+ "main": "index.js",
20
+ "directories": {
21
+ "test": "test"
46
22
  },
47
- "devDependencies": {
48
- "@types/json-query": "^2.2.0",
49
- "@wfcd/eslint-config": "latest",
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"
23
+ "files": [
24
+ "lib",
25
+ "index.js",
26
+ "basedir.js"
27
+ ],
28
+ "scripts": {
29
+ "build:docs": "jsdoc -c jsdoc-config.json -d docs",
30
+ "coverage": "npm test && c8 report --reporter=text-lcov | coveralls",
31
+ "lint": "eslint index.js lib/ test/",
32
+ "lint:fix": "eslint index.js lib/ test/ --fix",
33
+ "prepare": "husky && npx install-peerdeps @wfcd/eslint-config@latest -S",
34
+ "test": "c8 mocha"
55
35
  },
56
- "engines": {
57
- "node": ">=18",
58
- "npm": ">=8.19"
36
+ "commitlint": {
37
+ "extends": [
38
+ "@commitlint/config-conventional"
39
+ ],
40
+ "rules": {
41
+ "body-max-line-length": [
42
+ 0
43
+ ]
44
+ }
59
45
  },
60
- "release": {
61
- "branch": "master"
46
+ "lint-staged": {
47
+ "*.js": [
48
+ "eslint --cache --fix"
49
+ ],
50
+ "package*.json": [
51
+ "prettier --write",
52
+ "npm dedupe",
53
+ "npx sort-package-json"
54
+ ],
55
+ "*.{json,yaml,yml},!package*.json": [
56
+ "prettier --write"
57
+ ]
58
+ },
59
+ "babel": {
60
+ "plugins": [
61
+ "@babel/plugin-transform-class-properties",
62
+ "@babel/plugin-transform-private-methods"
63
+ ],
64
+ "presets": [
65
+ "@babel/preset-env"
66
+ ]
62
67
  },
63
68
  "prettier": "@wfcd/eslint-config/prettier",
64
- "eslintIgnore": [
65
- ".github/**",
66
- "docs/**",
67
- "resources/**",
68
- "types/**"
69
- ],
70
69
  "eslintConfig": {
71
70
  "extends": "@wfcd/eslint-config/esm",
72
71
  "rules": {
@@ -80,31 +79,60 @@
80
79
  ]
81
80
  }
82
81
  },
83
- "babel": {
84
- "presets": [
85
- "@babel/preset-env"
86
- ],
87
- "plugins": [
88
- "@babel/plugin-transform-class-properties",
89
- "@babel/plugin-transform-private-methods"
90
- ]
82
+ "eslintIgnore": [
83
+ ".github/**",
84
+ "docs/**",
85
+ "resources/**",
86
+ "types/**"
87
+ ],
88
+ "release": {
89
+ "branch": "master"
91
90
  },
92
91
  "mocha": {
93
- "spec": "test/test.js",
94
- "timeout": 30000,
95
92
  "bail": true,
96
93
  "exit": true,
97
- "slow": 10000
94
+ "slow": 10000,
95
+ "spec": "test/test.js",
96
+ "timeout": 30000
98
97
  },
99
98
  "c8": {
99
+ "exclude": [
100
+ "test/*",
101
+ "lib/nexus/*"
102
+ ],
100
103
  "reporter": [
101
104
  "lcov",
102
105
  "text"
103
106
  ],
104
- "skip-full": true,
105
- "exclude": [
106
- "test/*",
107
- "lib/nexus/*"
108
- ]
107
+ "skip-full": true
108
+ },
109
+ "dependencies": {
110
+ "get-image-colors": "^4.0.1",
111
+ "image-downloader": "^4.0.2",
112
+ "json-fetch-cache": "^1.2.6",
113
+ "json-query": "^2.2.2",
114
+ "node-md-config": "^2.0.1",
115
+ "numeral": "^2.0.6"
116
+ },
117
+ "devDependencies": {
118
+ "@commitlint/cli": "^20.0.0",
119
+ "@commitlint/config-conventional": "^20.0.0",
120
+ "@types/json-query": "^2.2.0",
121
+ "@wfcd/eslint-config": "^1.6.1",
122
+ "c8": "^10.1.2",
123
+ "chai": "^6.0.1",
124
+ "coveralls": "^3.1.1",
125
+ "husky": "^9.0.11",
126
+ "install-peerdeps": "^3.0.3",
127
+ "lint-staged": "^16.0.0",
128
+ "mocha": "^11.0.1",
129
+ "prettier": "^3.2.5"
130
+ },
131
+ "engines": {
132
+ "node": ">=18",
133
+ "npm": ">=8.19"
134
+ },
135
+ "publishConfig": {
136
+ "provenance": true
109
137
  }
110
138
  }