@charleslemaux/cms 1.0.0-rc.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.
package/package.json ADDED
@@ -0,0 +1,87 @@
1
+ {
2
+ "name": "@charleslemaux/cms",
3
+ "version": "1.0.0-rc.1",
4
+ "description": "Client and React components for the ICRC - CMS: blog articles and a double opt-in newsletter served by Odoo.",
5
+ "keywords": [
6
+ "cms",
7
+ "headless",
8
+ "blog",
9
+ "newsletter",
10
+ "odoo",
11
+ "react"
12
+ ],
13
+ "license": "MIT",
14
+ "author": "Charles Le Maux",
15
+ "type": "module",
16
+ "sideEffects": false,
17
+ "engines": {
18
+ "node": ">=18"
19
+ },
20
+ "main": "./dist/index.cjs",
21
+ "types": "./dist/index.d.cts",
22
+ "exports": {
23
+ ".": {
24
+ "import": {
25
+ "types": "./dist/index.d.ts",
26
+ "default": "./dist/index.js"
27
+ },
28
+ "require": {
29
+ "types": "./dist/index.d.cts",
30
+ "default": "./dist/index.cjs"
31
+ }
32
+ },
33
+ "./react": {
34
+ "import": {
35
+ "types": "./dist/react.d.ts",
36
+ "default": "./dist/react.js"
37
+ },
38
+ "require": {
39
+ "types": "./dist/react.d.cts",
40
+ "default": "./dist/react.cjs"
41
+ }
42
+ },
43
+ "./package.json": "./package.json"
44
+ },
45
+ "files": [
46
+ "dist"
47
+ ],
48
+ "scripts": {
49
+ "clean": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"",
50
+ "build": "npm run clean && tsup",
51
+ "prepack": "npm run build",
52
+ "typecheck": "tsc --noEmit",
53
+ "test": "vitest run",
54
+ "check:package": "npm run build && node scripts/check-directives.mjs && publint --strict && attw --pack . --profile node16",
55
+ "smoke": "npm run build && node scripts/smoke.mjs",
56
+ "sync-fixtures": "node scripts/sync-fixtures.mjs",
57
+ "playground": "npm run build && npm --prefix examples/playground install && npm --prefix examples/playground run dev",
58
+ "e2e": "npm run build && npm --prefix examples/playground install && npm --prefix examples/playground run e2e",
59
+ "prepublishOnly": "npm run typecheck && npm test && npm run check:package"
60
+ },
61
+ "peerDependencies": {
62
+ "react": ">=18"
63
+ },
64
+ "peerDependenciesMeta": {
65
+ "react": {
66
+ "optional": true
67
+ }
68
+ },
69
+ "publishConfig": {
70
+ "access": "public"
71
+ },
72
+ "devDependencies": {
73
+ "@arethetypeswrong/cli": "0.18.5",
74
+ "@testing-library/dom": "10.4.2",
75
+ "@testing-library/react": "16.3.3",
76
+ "@testing-library/user-event": "14.6.7",
77
+ "@types/react": "19.3.0",
78
+ "@types/react-dom": "19.3.0",
79
+ "jsdom": "26.1.0",
80
+ "publint": "0.3.24",
81
+ "react": "19.3.0",
82
+ "react-dom": "19.3.0",
83
+ "tsup": "8.5.1",
84
+ "typescript": "5.9.3",
85
+ "vitest": "3.2.7"
86
+ }
87
+ }