-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
55 lines (55 loc) · 1.96 KB
/
package.json
File metadata and controls
55 lines (55 loc) · 1.96 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
{
"name": "@granularjs/ui",
"version": "0.3.12",
"description": "90+ production-ready UI components for Granular. Dark/light themes, CSS variables, accessible, zero dependencies beyond @granularjs/core.",
"type": "module",
"main": "./dist/granular-ui.min.js",
"module": "./dist/granular-ui.min.js",
"types": "./types/index.d.ts",
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./dist/granular-ui.min.js",
"default": "./dist/granular-ui.min.js"
}
},
"files": [
"dist",
"types",
"src"
],
"scripts": {
"build:minify": "mkdir -p ./dist/fonts && cp -R src/theme/fonts/* ./dist/fonts/ && npx -y esbuild src/index.js --bundle --minify --sourcemap --format=esm --external:@granularjs/core --outfile=./dist/granular-ui.min.js && npx -y -p typescript@latest tsc -p tsconfig.json",
"build:debug": "mkdir -p ./dist/fonts && cp -R src/theme/fonts/* ./dist/fonts/ && npx -y esbuild src/index.js --bundle --sourcemap --format=esm --external:@granularjs/core --outfile=./dist/granular-ui.js && npx -y -p typescript@latest tsc -p tsconfig.json",
"build:watch": "npx -y esbuild src/index.js --bundle --minify --sourcemap --format=esm --external:@granularjs/core --outfile=./dist/granular-ui.min.js --watch",
"version": "npm run build:minify && git add -A",
"postversion": "git push && git push origin v$(node -p \"require('./package.json').version\")"
},
"peerDependencies": {
"@granularjs/core": "latest"
},
"author": "Guilherme Ferreira",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/zerobytes/granular-ui.git"
},
"homepage": "https://granular.web.app",
"bugs": {
"url": "https://github.com/zerobytes/granular-ui/issues"
},
"keywords": [
"granular",
"granularjs",
"ui",
"components",
"component-library",
"design-system",
"theme",
"dark-mode",
"reactive",
"frontend",
"javascript",
"no-vdom"
]
}