@opinio-dev/models 1.0.1-publish-pipeline.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/dist/ItemType.d.ts +8 -0
- package/package.json +42 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const ItemType: {
|
|
2
|
+
readonly Book: "book";
|
|
3
|
+
readonly Game: "game";
|
|
4
|
+
readonly Movie: "movie";
|
|
5
|
+
readonly Series: "series";
|
|
6
|
+
};
|
|
7
|
+
export type ItemType = (typeof ItemType)[keyof typeof ItemType];
|
|
8
|
+
export declare const ItemTypes: ("book" | "game" | "movie" | "series")[];
|
package/package.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@opinio-dev/models",
|
|
3
|
+
"version": "1.0.1-publish-pipeline.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"files": [
|
|
6
|
+
"dist"
|
|
7
|
+
],
|
|
8
|
+
"exports": {
|
|
9
|
+
"./*": {
|
|
10
|
+
"import": "./dist/*.js",
|
|
11
|
+
"require": "./dist/*.cjs",
|
|
12
|
+
"types": "./dist/*.d.ts"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"scripts": {
|
|
16
|
+
"lint": "eslint .",
|
|
17
|
+
"format": "prettier --write .",
|
|
18
|
+
"format:check": "prettier --check .",
|
|
19
|
+
"build": "rimraf dist && node build.js && tsc",
|
|
20
|
+
"build:ts": "tsc --noEmit",
|
|
21
|
+
"prepare": "husky"
|
|
22
|
+
},
|
|
23
|
+
"author": "",
|
|
24
|
+
"license": "ISC",
|
|
25
|
+
"description": "",
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@eslint/js": "^9.33.0",
|
|
28
|
+
"esbuild": "^0.27.0",
|
|
29
|
+
"eslint": "^9.33.0",
|
|
30
|
+
"eslint-config-prettier": "^10.1.8",
|
|
31
|
+
"eslint-plugin-import": "^2.32.0",
|
|
32
|
+
"eslint-plugin-jsdoc": "^54.1.1",
|
|
33
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
34
|
+
"globals": "^16.3.0",
|
|
35
|
+
"husky": "^9.1.7",
|
|
36
|
+
"prettier": "^3.6.2",
|
|
37
|
+
"prettier-plugin-organize-imports": "^4.2.0",
|
|
38
|
+
"rimraf": "^6.1.0",
|
|
39
|
+
"typescript": "~5.8.3",
|
|
40
|
+
"typescript-eslint": "^8.39.1"
|
|
41
|
+
}
|
|
42
|
+
}
|