forked from ben-rogerson/twin.macro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
104 lines (104 loc) · 2.91 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "twin.macro",
"version": "1.10.0",
"description": "Use Tailwind classes within css-in-js libraries",
"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",
"prepublishOnly": "npm run build"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"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 <[email protected]> and Brad Cornes <[email protected]>",
"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.10.2",
"babel-plugin-macros": "^2.8.0",
"chalk": "^4.1.0",
"clean-set": "^1.1.1",
"color": "^3.1.2",
"dlv": "^1.1.3",
"dset": "^2.0.1",
"lodash.merge": "^4.6.2",
"string-similarity": "^4.0.1",
"tailwindcss": "^1.8.8",
"timsort": "^0.3.0"
},
"peerDependencies": {
"@types/react": "^16.9.34"
},
"devDependencies": {
"@babel/plugin-syntax-jsx": "^7.10.1",
"@emotion/core": "^10.0.28",
"@emotion/styled": "^10.0.27",
"@tailwindcss/typography": "^0.2.0",
"@types/react": "^16.9.34",
"@types/styled-components": "^5.1.0",
"@typescript-eslint/eslint-plugin": "^2.29.0",
"@typescript-eslint/parser": "^2.29.0",
"babel-plugin-tester": "^9.2.0",
"eslint": "^6.8.0",
"eslint-config-import": "^0.13.0",
"eslint-config-prettier": "^6.11.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.21.2",
"eslint-plugin-jest": "^23.13.2",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^4.0.4",
"eslint-plugin-unicorn": "^18.0.1",
"glob-all": "^3.2.1",
"husky": "^4.2.5",
"jest": "^25.4.0",
"lint-staged": "^10.2.9",
"microbundle": "^0.11.0",
"nodemon": "^2.0.3",
"prettier": "^2.0.5",
"react": "^16.13.1",
"styled-components": "^5.1.1",
"tailwindcss-typography": "^3.1.0",
"typescript": "^3.9.5"
}
}