-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.64 KB
/
Copy pathpackage.json
File metadata and controls
89 lines (89 loc) · 2.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "@nkardaz/typography-rules",
"version": "1.0.4",
"description": "Rules package to be used in typography plugins. Glyphs library and helpers included.",
"license": "MIT",
"author": "Yalla Nkardaz",
"keywords": [
"typography",
"typographic",
"text-formatting",
"typesetting",
"russian",
"english",
"text"
],
"repository": {
"type": "git",
"url": "git+https://github.com/DemerNkardaz/typography-rules.git"
},
"homepage": "https://github.com/DemerNkardaz/typography-rules#readme",
"bugs": {
"url": "https://github.com/DemerNkardaz/typography-rules/issues"
},
"type": "module",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs"
},
"./glyphs": {
"types": "./dist/glyphs/index.d.ts",
"import": "./dist/glyphs/index.mjs"
},
"./helpers": {
"types": "./dist/helpers/index.d.ts",
"import": "./dist/helpers/index.mjs"
},
"./functions": {
"types": "./dist/functions/index.d.ts",
"import": "./dist/functions/index.mjs"
},
"./style": {
"types": "./dist/style/index.d.ts",
"style": "./dist/style/main.css",
"import": "./dist/style/main.css"
}
},
"bundleSizeLimit": 102400,
"sideEffects": true,
"engines": {
"node": ">=24.0.0"
},
"scripts": {
"generate": "node tools/generate-sets-index.mjs",
"build:js": "node esbuild.config.mjs",
"build:types": "tsc --project tsconfig.build.json --emitDeclarationOnly",
"build": "npm run generate && npm run build:js && npm run build:types",
"dev": "esbuild --watch",
"lint": "eslint src --ext .ts,.tsx",
"lint:fix": "eslint src --ext .ts,.tsx --fix",
"format": "prettier --write \"src/**/*.{ts,tsx,json,md}\"",
"type-check": "tsc --noEmit",
"test": "vitest --run",
"test:coverage": "vitest --run --coverage",
"test:ui": "vitest --ui",
"prepublishOnly": "npm run generate && npm run build && npm run lint && npm run type-check",
"knip": "knip"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@nkardaz/remark-typography": "file:../remark-typography",
"@nkardaz/typography-core": "file:../typography-core",
"@nkardaz/typography-rules": "^1.0.3",
"@types/mdast": "^4.0.4",
"@types/node": "^25.9.2",
"@vitest/coverage-v8": "^4.1.8",
"esbuild": "^0.28.0",
"eslint": "^10.4.1",
"eslint-config-prettier": "^10.1.8",
"knip": "^6.15.0",
"mdast-util-mdx-jsx": "^3.2.0",
"prettier": "^3.0.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.60.1",
"vitest": "^4.1.8"
}
}