tss-react
Version:
Type safe CSS-in-JS API heavily inspired by react-jss
246 lines (245 loc) • 7.38 kB
JSON
{
"name": "tss-react",
"version": "4.9.19",
"description": "Type safe CSS-in-JS API heavily inspired by react-jss",
"repository": {
"type": "git",
"url": "git://github.com/garronej/tss-react.git"
},
"main": "./index.js",
"types": "./index.d.ts",
"module": "./esm/index.js",
"exports": {
".": {
"module": "./esm/index.js",
"default": "./index.js"
},
"./mui": {
"module": "./esm/mui/index.js",
"default": "./mui/index.js"
},
"./next/pagesDir": {
"module": "./esm/next/pagesDir.js",
"default": "./next/pagesDir.js"
},
"./next/appDir": {
"module": "./esm/next/appDir.js",
"default": "./next/appDir.js"
},
"./dsfr": {
"module": "./esm/dsfr.js",
"default": "./dsfr.js"
},
"./cssAndCx": {
"module": "./esm/cssAndCx.js",
"default": "./cssAndCx.js"
},
"./next": {
"module": "./esm/next/index.js",
"default": "./next/index.js"
},
"./nextJs": {
"module": "./esm/nextJs.js",
"default": "./nextJs.js"
},
"./compat": {
"module": "./esm/compat.js",
"default": "./compat.js"
},
"./mui-compat": {
"module": "./esm/mui-compat.js",
"default": "./mui-compat.js"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix"
],
"*.{ts,tsx,json,md}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged -v"
}
},
"author": "u/garronej",
"license": "MIT",
"files": [
"./GlobalStyles.d.ts",
"./GlobalStyles.js",
"./compat.d.ts",
"./compat.js",
"./cssAndCx.d.ts",
"./cssAndCx.js",
"./dsfr.d.ts",
"./dsfr.js",
"./esm/GlobalStyles.d.ts",
"./esm/GlobalStyles.js",
"./esm/compat.d.ts",
"./esm/compat.js",
"./esm/cssAndCx.d.ts",
"./esm/cssAndCx.js",
"./esm/dsfr.d.ts",
"./esm/dsfr.js",
"./esm/index.d.ts",
"./esm/index.js",
"./esm/makeStyles.d.ts",
"./esm/makeStyles.js",
"./esm/mergeClasses.d.ts",
"./esm/mergeClasses.js",
"./esm/mui/index.d.ts",
"./esm/mui/index.js",
"./esm/mui/mui.d.ts",
"./esm/mui/mui.js",
"./esm/mui/themeStyleOverridesPlugin.d.ts",
"./esm/mui/themeStyleOverridesPlugin.js",
"./esm/mui-compat.d.ts",
"./esm/mui-compat.js",
"./esm/next/appDir.d.ts",
"./esm/next/appDir.js",
"./esm/next/index.d.ts",
"./esm/next/index.js",
"./esm/next/pagesDir.d.ts",
"./esm/next/pagesDir.js",
"./esm/nextJs.d.ts",
"./esm/nextJs.js",
"./esm/tools/ReactComponent.d.ts",
"./esm/tools/ReactComponent.js",
"./esm/tools/ReactHTML.d.ts",
"./esm/tools/ReactHTML.js",
"./esm/tools/assert.d.ts",
"./esm/tools/assert.js",
"./esm/tools/capitalize.d.ts",
"./esm/tools/capitalize.js",
"./esm/tools/classnames.d.ts",
"./esm/tools/classnames.js",
"./esm/tools/getDependencyArrayRef.d.ts",
"./esm/tools/getDependencyArrayRef.js",
"./esm/tools/isSSR.d.ts",
"./esm/tools/isSSR.js",
"./esm/tools/objectKeys.d.ts",
"./esm/tools/objectKeys.js",
"./esm/tools/polyfills/Object.fromEntries.d.ts",
"./esm/tools/polyfills/Object.fromEntries.js",
"./esm/tools/typeGuard.d.ts",
"./esm/tools/typeGuard.js",
"./esm/tools/useGuaranteedMemo.d.ts",
"./esm/tools/useGuaranteedMemo.js",
"./esm/tsconfig-esm.tsbuildinfo",
"./esm/tss.d.ts",
"./esm/tss.js",
"./esm/types.d.ts",
"./esm/types.js",
"./esm/withStyles.d.ts",
"./esm/withStyles.js",
"./esm/withStyles_compat.d.ts",
"./esm/withStyles_compat.js",
"./index.d.ts",
"./index.js",
"./makeStyles.d.ts",
"./makeStyles.js",
"./mergeClasses.d.ts",
"./mergeClasses.js",
"./mui/index.d.ts",
"./mui/index.js",
"./mui/mui.d.ts",
"./mui/mui.js",
"./mui/themeStyleOverridesPlugin.d.ts",
"./mui/themeStyleOverridesPlugin.js",
"./mui-compat.d.ts",
"./mui-compat.js",
"./next/appDir.d.ts",
"./next/appDir.js",
"./next/index.d.ts",
"./next/index.js",
"./next/pagesDir.d.ts",
"./next/pagesDir.js",
"./nextJs.d.ts",
"./nextJs.js",
"./tools/ReactComponent.d.ts",
"./tools/ReactComponent.js",
"./tools/ReactHTML.d.ts",
"./tools/ReactHTML.js",
"./tools/assert.d.ts",
"./tools/assert.js",
"./tools/capitalize.d.ts",
"./tools/capitalize.js",
"./tools/classnames.d.ts",
"./tools/classnames.js",
"./tools/getDependencyArrayRef.d.ts",
"./tools/getDependencyArrayRef.js",
"./tools/isSSR.d.ts",
"./tools/isSSR.js",
"./tools/objectKeys.d.ts",
"./tools/objectKeys.js",
"./tools/polyfills/Object.fromEntries.d.ts",
"./tools/polyfills/Object.fromEntries.js",
"./tools/typeGuard.d.ts",
"./tools/typeGuard.js",
"./tools/useGuaranteedMemo.d.ts",
"./tools/useGuaranteedMemo.js",
"./tss.d.ts",
"./tss.js",
"./types.d.ts",
"./types.js",
"./withStyles.d.ts",
"./withStyles.js",
"./withStyles_compat.d.ts",
"./withStyles_compat.js"
],
"keywords": [
"jss",
"hooks",
"react",
"@material-ui",
"mui",
"css",
"makeStyles",
"withStyles"
],
"homepage": "https://www.tss-react.dev",
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
"@types/react": "^16.8.0 || ^17.0.2 || ^18.0.0 || ^19.0.0",
"@emotion/react": "^11.4.1",
"@emotion/server": "^11.4.0",
"@mui/material": "^5.0.0 || ^6.0.0 || ^7.0.0"
},
"peerDependenciesMeta": {
"@emotion/server": {
"optional": true
},
"@mui/material": {
"optional": true
}
},
"dependencies": {
"@emotion/serialize": "*",
"@emotion/utils": "*",
"@emotion/cache": "*"
},
"devDependencies": {
"@codegouvfr/react-dsfr": "^1.2.2",
"@emotion/server": "11.10.0",
"@emotion/react": "11.10.5",
"@mui/material": "5.11.1",
"@emotion/styled": "11.10.5",
"@types/node": "^15.3.1",
"@types/react": "18.0.26",
"@types/react-dom": "18.0.9",
"@typescript-eslint/eslint-plugin": "^4.24.0",
"@typescript-eslint/parser": "^4.24.0",
"eslint": "^7.26.0",
"eslint-config-prettier": "^8.3.0",
"husky": "^4.3.8",
"lint-staged": "^11.0.0",
"next": "13.0.7",
"prettier": "^2.3.0",
"react": "18.1.0",
"ts-node": "^10.2.1",
"tsafe": "^1.6.6",
"typescript": "4.4.4"
}
}