twin.macro
Version:
Twin blends the magic of Tailwind with the flexibility of css-in-js
111 lines (110 loc) • 3.18 kB
JSON
{
"name": "twin.macro",
"version": "2.8.2",
"description": "Twin blends the magic of Tailwind with the flexibility of css-in-js",
"main": "macro.js",
"types": "types/index.d.ts",
"scripts": {
"dev": "nodemon --watch src -x \"npm run build:macro\" --delay .2",
"build": "npm run build:macro",
"build:macro": "microbundle -i src/macro.js -f cjs -o ./macro.js --target node",
"test:types": "tsc -b ./types/tsconfig.json",
"test": "npm run build && jest && npm run test:types",
"fixup": "npm run build && jest --u",
"prepublishOnly": "npm run build"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"engines": {
"node": ">=12.13.0"
},
"lint-staged": {
"*.{js,ts,jsx,tsx}": [
"eslint --cache --fix",
"jest --findRelatedTests"
],
"*.{js,ts,jsx,tsx,json,md}": [
"prettier --write"
]
},
"files": [
"macro.js",
"types/index.d.ts"
],
"repository": {
"type": "git",
"url": "git+https://github.com/ben-rogerson/twin.macro.git"
},
"keywords": [
"glamor",
"emotion",
"styled-components",
"tailwind",
"tailwindcss",
"css-in-js",
"babel-plugin",
"babel-plugin-macros"
],
"author": "Ben Rogerson <info@benrogerson.com.au> and Brad Cornes <bradlc41@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/ben-rogerson/twin.macro/issues"
},
"homepage": "https://github.com/ben-rogerson/twin.macro#readme",
"dependencies": {
"@babel/parser": "^7.12.5",
"@babel/template": "^7.14.5",
"autoprefixer": "^10.2.5",
"babel-plugin-macros": "^2.8.0",
"chalk": "^4.1.0",
"clean-set": "^1.1.1",
"color": "^3.1.3",
"dset": "^2.0.1",
"lodash.flatmap": "^4.5.0",
"lodash.get": "^4.4.2",
"lodash.merge": "^4.6.2",
"postcss": "^8.1.8",
"string-similarity": "^4.0.3",
"tailwindcss": "^2.2.7",
"timsort": "^0.3.0"
},
"devDependencies": {
"@babel/plugin-syntax-jsx": "^7.12.1",
"@emotion/react": "^11.1.1",
"@emotion/styled": "^11.0.0",
"@tailwindcss/forms": "^0.3.2",
"@tailwindcss/typography": "^0.4.0",
"@types/react": "^17.0.0",
"@types/styled-components": "^5.1.4",
"@typescript-eslint/eslint-plugin": "^4.8.1",
"@typescript-eslint/parser": "^4.8.1",
"babel-plugin-tester": "^10.0.0",
"eslint": "^7.13.0",
"eslint-config-import": "^0.13.0",
"eslint-config-prettier": "^6.15.0",
"eslint-config-xo": "^0.29.1",
"eslint-config-xo-react": "^0.23.0",
"eslint-config-xo-space": "^0.24.0",
"eslint-config-xo-typescript": "^0.27.0",
"eslint-plugin-chai-friendly": "^0.5.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-unicorn": "^23.0.0",
"glob-all": "^3.2.1",
"husky": "^4.3.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.1",
"microbundle": "^0.11.0",
"nodemon": "^2.0.6",
"prettier": "^2.1.2",
"react": "^17.0.1",
"styled-components": "^5.2.1",
"tailwindcss-typography": "^3.1.0",
"typescript": "^4.0.5"
}
}