construct-ui
Version:
A Mithril.js UI library
124 lines (123 loc) • 4.29 kB
JSON
{
"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": "cross-env TS_NODE_PROJECT=test/tsconfig.json mocha --config ./test/.mocharc.js",
"test:watch": "cross-env TS_NODE_PROJECT=test/tsconfig.json mocha --watch --config ./test/.mocharc.js",
"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": "webpack --mode=production && 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 public",
"build:docs": "npm run generate:docs && npm run clean:docs && cd docs && cross-env NODE_ENV=production webpack --mode=production",
"watch:docs": "cd docs && webpack-dev-server --hot",
"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/public",
"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": {
"feather-icons": "^4.29.0",
"lodash.debounce": "^4.0.8",
"mithril-transition-group": "^0.2.0",
"popper.js": "^1.16.1",
"simplestatemanager": "^4.1.1",
"tslib": "^2.4.0"
},
"devDependencies": {
"@documentalist/client": "^4.0.0",
"@documentalist/compiler": "^4.0.0",
"@types/element-resize-event": "^3.0.0",
"@types/highlight.js": "^9.12.4",
"@types/jsdom": "^16.2.14",
"@types/lodash.debounce": "^4.0.7",
"@types/mithril": "^2.0.11",
"@types/mocha": "^9.1.1",
"@types/node": "^18.0.0",
"@types/tinycolor2": "^1.4.3",
"@types/webpack-env": "^1.17.0",
"@typescript-eslint/eslint-plugin": "^5.29.0",
"@typescript-eslint/parser": "^5.29.0",
"assert": "^2.0.0",
"autoprefixer": "^10.4.7",
"clean-css": "^5.3.0",
"clean-css-cli": "^5.6.0",
"copy-webpack-plugin": "^11.0.0",
"cross-env": "^7.0.3",
"css-loader": "^6.7.1",
"dts-bundle-generator": "^6.13.0",
"eslint": "^8.18.0",
"file-loader": "^6.2.0",
"fork-ts-checker-webpack-plugin": "^7.2.11",
"gh-pages": "^4.0.0",
"highlight.js": "^11.5.1",
"html-webpack-plugin": "^5.5.0",
"jsdom": "^20.0.0",
"jsdom-global": "^3.0.2",
"mini-css-extract-plugin": "^2.6.1",
"mithril": "^2.2.2",
"mocha": "^10.0.0",
"mq-polyfill": "^1.1.8",
"npm-run-all": "^4.1.5",
"postcss-loader": "^7.0.0",
"resolve-url-loader": "^5.0.0",
"sass": "^1.52.3",
"sass-loader": "^13.0.0",
"source-map-loader": "^4.0.0",
"style-loader": "^3.3.1",
"terser-webpack-plugin": "^5.3.3",
"tinycolor2": "^1.4.2",
"ts-loader": "^9.3.0",
"ts-node": "^10.8.1",
"tsconfig-paths": "^4.0.0",
"typedoc": "^0.22.17",
"typescript": "^4.7.4",
"url-loader": "^4.1.1",
"webpack": "^5.73.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.9.2"
},
"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",
"not ie <= 10"
]
}