mesurer 0.0.0 → 0.0.2

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 CHANGED
@@ -1,13 +1,62 @@
1
1
  {
2
2
  "name": "mesurer",
3
- "version": "0.0.0",
4
- "description": "",
5
- "main": "index.js",
3
+ "version": "0.0.2",
4
+ "description": "Measure and align everything on localhost.",
5
+ "license": "MIT",
6
+ "author": "Julien Thibeaut",
7
+ "type": "module",
8
+ "main": "./dist/index.cjs",
9
+ "module": "./dist/index.js",
10
+ "types": "./dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "import": "./dist/index.js",
15
+ "require": "./dist/index.cjs"
16
+ },
17
+ "./styles.css": "./dist/styles.css",
18
+ "./package.json": "./package.json"
19
+ },
20
+ "files": [
21
+ "dist",
22
+ "dist/styles.css",
23
+ "README.md",
24
+ "LICENSE"
25
+ ],
26
+ "sideEffects": ["*.css"],
27
+ "publishConfig": {
28
+ "access": "public"
29
+ },
30
+ "homepage": "https://mesurer.ibelick.com",
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "https://github.com/ibelick/mesurer.git"
34
+ },
35
+ "bugs": {
36
+ "url": "https://github.com/ibelick/mesurer/issues"
37
+ },
6
38
  "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
39
+ "build": "pnpm exec tailwindcss -i styles.css -o styles.generated.css && node scripts/generate-styles.mjs && tsup && pnpm exec tailwindcss -i styles.css -o dist/styles.css",
40
+ "dev": "tsup --watch",
41
+ "typecheck": "tsc --noEmit",
42
+ "prepublishOnly": "npm run typecheck && npm run build"
43
+ },
44
+ "peerDependencies": {
45
+ "react": ">=18.0.0",
46
+ "react-dom": ">=18.0.0"
47
+ },
48
+ "devDependencies": {
49
+ "@tailwindcss/cli": "^4.2.2",
50
+ "@types/react": "^19.0.0",
51
+ "@types/react-dom": "^19.0.0",
52
+ "react": "^19.0.0",
53
+ "react-dom": "^19.0.0",
54
+ "tailwindcss": "^4.2.2",
55
+ "tsup": "^8.5.0",
56
+ "typescript": "^5.9.2"
8
57
  },
9
- "keywords": [],
10
- "author": "",
11
- "license": "ISC",
12
- "type": "commonjs"
58
+ "keywords": [
59
+ "measurement",
60
+ "alignment"
61
+ ]
13
62
  }