@mat3ra/mode 2025.11.6-3 → 2025.11.10-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.
- package/package.json +13 -7
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mat3ra/mode",
|
|
3
|
-
"version": "2025.11.
|
|
3
|
+
"version": "2025.11.10-0",
|
|
4
4
|
"description": "MOdel and method DEfinitions",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"test": "nyc --reporter=text mocha --
|
|
6
|
+
"test": "nyc --reporter=text mocha --recursive --bail",
|
|
7
7
|
"pretest": "npm run transpile",
|
|
8
|
-
"lint": "eslint src tests && prettier --write src tests",
|
|
9
|
-
"lint:fix": "eslint --fix --cache src tests && prettier --write src tests",
|
|
8
|
+
"lint": "eslint --cache src/js tests/js && prettier --write src/js tests/js",
|
|
9
|
+
"lint:fix": "eslint --fix --cache src/js tests/js && prettier --write src/js tests/js",
|
|
10
10
|
"transpile": "tsc --project tsconfig.json",
|
|
11
|
-
"prettier": "prettier --check src tests",
|
|
11
|
+
"prettier": "prettier --check src/js tests/js",
|
|
12
12
|
"prepare": "husky install || exit 0",
|
|
13
13
|
"prepublishOnly": "rm -rf dist && npm run transpile",
|
|
14
14
|
"generate-mixins": "ts-node scripts/generate-mixins.ts"
|
|
@@ -88,7 +88,13 @@
|
|
|
88
88
|
"node": ">20.0.0"
|
|
89
89
|
},
|
|
90
90
|
"lint-staged": {
|
|
91
|
-
"
|
|
92
|
-
|
|
91
|
+
"src/js/**/*.{js,ts}": [
|
|
92
|
+
"eslint --cache --fix",
|
|
93
|
+
"prettier --write"
|
|
94
|
+
],
|
|
95
|
+
"tests/js/**/*.{js,ts}": [
|
|
96
|
+
"eslint --cache --fix",
|
|
97
|
+
"prettier --write"
|
|
98
|
+
]
|
|
93
99
|
}
|
|
94
100
|
}
|