Files
2025-02-18 12:30:35 +00:00

61 lines
1.8 KiB
JSON

{
"name": "@speckle/tailwind-theme",
"description": "Speckle tailwind theme used in frontend 2 and other apps",
"version": "0.0.1",
"type": "module",
"scripts": {
"build": "echo \"Building tailwind-theme\" && rimraf ./dist ./dist-cjs && tsc -p . && tsc -p ./tsconfig.cjs.json && tsconfig-to-dual-package && echo \"Done building tailwind-theme!\"",
"viewer": "tailwind-config-viewer -o -c tailwind.test.config.cjs",
"lint:js": "eslint .",
"lint:tsc": "tsc --noEmit",
"lint:prettier": "prettier --config ../../.prettierrc --ignore-path ../../.prettierignore --check .",
"lint": "yarn lint:js && yarn lint:tsc && yarn lint:prettier",
"lint:ci": "yarn lint:tsc"
},
"main": "./dist-cjs/index.js",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist-cjs/index.d.ts",
"default": "./dist-cjs/index.js"
}
},
"./tailwind-configure": {
"import": "./utils/tailwind-configure.js",
"require": "./utils/tailwind-configure.cjs",
"types": "./utils/tailwind-configure.d.ts"
},
"./fonts/*": "./fonts/*"
},
"engines": {
"node": ">=18.19.0"
},
"peerDependencies": {
"postcss": "^8.4.18",
"postcss-nesting": "^10.2.0",
"tailwindcss": "^3.3.2"
},
"dependencies": {
"@tailwindcss/forms": "^0.5.3"
},
"devDependencies": {
"@types/eslint": "^8.56.10",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"eslint": "^9.4.0",
"eslint-config-prettier": "^9.1.0",
"prettier": "^2.7.1",
"rimraf": "^5.0.0",
"tailwind-config-viewer": "^1.7.2",
"tailwindcss": "^3.3.2",
"tsconfig-to-dual-package": "^1.2.0",
"typescript": "^5.0.4"
}
}