forked from vrimar/construct-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 3.18 KB
/
package.json
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
90
91
92
93
94
95
96
97
{
"name": "construct-ui",
"version": "0.3.4",
"description": "A Mithril.js UI library",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"types": "lib/esm/index.d.ts",
"sideEffects": [
"*.css"
],
"scripts": {
"lint": "eslint ./src/**/*.ts ./docs/**/*.ts",
"lint:fix": "eslint --fix ./src/**/*.ts ./docs/**/*.ts",
"test": "cd test && vitest run",
"test:watch": "cd test && vitest watch",
"watch": "npm-run-all --parallel watch:js watch:css",
"watch:js": "tsc -p tsconfig.esm.json --watch",
"watch:css": "sass -w src:lib",
"build:umd": "vite build && npm run generate:dts-bundle",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json",
"clean:css": "cleancss lib/index.css -o lib/index.css -O 2",
"build:css": "sass src/index.scss lib/index.css && npm run clean:css",
"build": "npm run lint && npm run test && rimraf lib && npm-run-all --parallel build:cjs build:esm build:umd build:css",
"clean:docs": "cd docs && rimraf dist",
"build:docs": "npm run generate:docs && npm run clean:docs && cd docs && vite build",
"watch:docs": "cd docs && vite",
"generate:docs": "documentalist src/**/* > docs/generated/docs.json",
"generate:icons": "node scripts/generateIcons.js",
"build:all": "npm run build && npm run build:docs",
"deploy:docs": "gh-pages -d docs/dist",
"version": "npm run build:all && git add *",
"postversion": "git push && git push --tags && npm publish && npm run deploy:docs",
"generate:dts-bundle": "dts-bundle-generator --no-check --umd-module-name CUI -o lib/cui.d.ts src/index.ts"
},
"peerDependencies": {
"mithril": ">=2.0.4"
},
"dependencies": {
"@popperjs/core": "^2.11.8",
"feather-icons": "^4.29.0",
"lodash.debounce": "^4.0.8",
"mithril-transition-group": "^0.2.0",
"simplestatemanager": "^4.1.1",
"tslib": "^2.5.3"
},
"devDependencies": {
"@documentalist/client": "^4.0.0",
"@documentalist/compiler": "^4.0.0",
"@types/highlight.js": "^9.12.4",
"@types/lodash.debounce": "^4.0.7",
"@types/mithril": "^2.0.12",
"@types/node": "^20.2.5",
"@types/tinycolor2": "^1.4.3",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"clean-css": "^5.3.2",
"clean-css-cli": "^5.6.2",
"dts-bundle-generator": "^8.0.1",
"eslint": "^8.42.0",
"gh-pages": "^5.0.0",
"highlight.js": "^11.8.0",
"mithril": "^2.2.2",
"mq-polyfill": "^1.1.8",
"npm-run-all": "^4.1.5",
"sass": "^1.62.1",
"terser": "^5.17.7",
"tinycolor2": "^1.6.0",
"typescript": "^5.1.3",
"vite": "^4.3.9",
"vite-plugin-checker": "^0.6.0",
"vite-tsconfig-paths": "^4.2.0",
"vitest": "^0.31.4"
},
"author": "Vasil Rimar",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/vrimar/construct-ui.git"
},
"bugs": {
"url": "https://github.com/vrimar/construct-ui/issues"
},
"homepage": "https://vrimar.github.io/construct-ui",
"keywords": [
"ui-components",
"ui",
"mithril",
"mithril-component",
"mithriljs",
"typescript"
],
"browserslist": [
"> 1%",
"last 2 versions"
]
}