mithril-materialized
Version:
A materialize library for mithril.
100 lines (99 loc) • 4.15 kB
JSON
{
"name": "mithril-materialized",
"version": "3.10.0",
"description": "A materialize library for mithril.",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"browser": "dist/index.umd.js",
"unpkg": "dist/index.umd.js",
"jsdelivr": "dist/index.umd.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.esm.js",
"require": "./dist/index.js",
"default": "./dist/index.esm.js"
},
"./modern": "./dist/index.esm.js",
"./esm": "./dist/index.esm.js",
"./umd": "./dist/index.umd.js",
"./index.css": "./dist/index.css",
"./index.min.css": "./dist/index.min.css",
"./core.css": "./dist/core.css",
"./components.css": "./dist/components.css",
"./forms.css": "./dist/forms.css",
"./pickers.css": "./dist/pickers.css",
"./advanced.css": "./dist/advanced.css",
"./utilities.css": "./dist/utilities.css",
"./sass/*": "./sass/*"
},
"sideEffects": false,
"files": [
"dist",
"sass"
],
"scripts": {
"build": "rollup -c rollup.config.mjs && npm run build:css-min",
"build:css-min": "sass --no-source-map --style=compressed --no-charset ./src/index.scss ./dist/index.min.css && npm run build:css-modules",
"build:css-modules": "sass --no-source-map ./src/core.scss ./dist/core.css && sass --no-source-map ./src/components.scss ./dist/components.css && sass --no-source-map ./src/forms.scss ./dist/forms.css && sass --no-source-map ./src/pickers.scss ./dist/pickers.css && sass --no-source-map ./src/advanced.scss ./dist/advanced.css && sass --no-source-map ./src/utilities.scss ./dist/utilities.css",
"dev": "concurrently \"rollup -c rollup.config.mjs -w\" \"pnpm run css:watch\"",
"start": "pnpm run dev",
"clean": "rimraf dist node_modules/.cache",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:ui": "jest --watch --verbose",
"test:server": "node test-server.js",
"test:visual": "playwright test",
"test:visual:ui": "playwright test --ui",
"test:all": "npm run test && npm run test:visual",
"link:old": "pnpm link",
"typedoc": "typedoc --out ../../docs/typedoc src",
"build:domain": "npm run clean && npm run build && typedoc --out ../../docs/typedoc src",
"dry-run": "npm publish --dry-run",
"sass:watch": "sass --watch ./sass/materialize.scss ./dist/index.css",
"css:watch": "sass --watch --no-source-map --style=compressed --no-charset ./src/index.scss ./dist/index.min.css",
"dev:full": "pnpm run dev & pnpm run css:watch",
"patch-release": "npm run clean && npm run build && npm version patch --force -m \"Patch release\" && npm publish && git push --follow-tags",
"minor-release": "npm run clean && npm run build && npm version minor --force -m \"Minor release\" && npm publish && git push --follow-tags",
"major-release": "npm run clean && npm run build && npm version major --force -m \"Major release\" && npm publish && git push --follow-tags"
},
"repository": {
"type": "git",
"url": "git://github.com/erikvullings/mithril-materialized.git"
},
"homepage": "https://erikvullings.github.io/mithril-materialized/index.html#!/home",
"keywords": [
"mithril",
"materialize-css"
],
"author": "Erik Vullings <erik.vullings@gmail.com> (http://www.tno.nl)",
"license": "MIT",
"dependencies": {
"mithril": "^2.3.8"
},
"devDependencies": {
"@playwright/test": "^1.57.0",
"@rollup/plugin-typescript": "^12.3.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/user-event": "^14.6.1",
"@types/jest": "^30.0.0",
"@types/mithril": "^2.2.7",
"autoprefixer": "^10.4.23",
"concurrently": "^9.2.1",
"identity-obj-proxy": "^3.0.0",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"js-yaml": "^4.1.1",
"rimraf": "^6.1.2",
"rollup": "^4.54.0",
"rollup-plugin-postcss": "^4.0.2",
"sass": "^1.97.1",
"ts-jest": "^29.4.6",
"tslib": "^2.8.1",
"typedoc": "^0.28.15",
"typescript": "^5.9.3"
}
}