forked from vercel/styled-jsx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
124 lines (124 loc) · 3.05 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "styled-jsx",
"version": "0.0.0-development",
"license": "MIT",
"repository": "vercel/styled-jsx",
"description": "Full CSS support for JSX without compromises",
"files": [
"dist",
"lib",
"index.d.ts",
"index.js",
"babel.js",
"babel-test.js",
"style.js",
"macro.js",
"macro.d.ts",
"css.js",
"css.d.ts",
"webpack.js",
"license.md"
],
"typings": "./index.d.ts",
"scripts": {
"build": "rm -rf dist && rm -rf out && babel src --out-dir out && yarn build-babel && yarn build-webpack && yarn build-index",
"build-babel": "ncc build out/babel.js -e react -e babel-plugin-macros --target es5 -o dist/babel",
"build-webpack": "ncc build out/webpack.js -e react -e babel-plugin-macros --target es5 -o dist/webpack",
"build-index": "ncc build out/index.js -e react -e babel-plugin-macros --target es5 -o dist/index",
"test": "ava",
"lint": "eslint ./src",
"format": "prettier --write \"./{src,test}/**/*.{js,css}\"",
"prepublishOnly": "yarn build && yarn test && yarn lint --quiet"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"ava": {
"require": [
"@babel/register"
]
},
"eslintConfig": {
"env": {
"node": true,
"browser": true,
"es6": true
},
"extends": [
"eslint:recommended",
"prettier"
],
"parserOptions": {
"ecmaVersion": 11,
"sourceType": "module"
},
"rules": {
"no-empty": 0,
"capitalized-comments": 0,
"valid-jsdoc": 0,
"prefer-destructuring": 0,
"padding-line-between-statements": 0
}
},
"devDependencies": {
"@babel/cli": "7.12.1",
"@babel/core": "7.12.3",
"@babel/plugin-proposal-object-rest-spread": "7.12.1",
"@babel/plugin-syntax-jsx": "7.14.5",
"@babel/plugin-transform-arrow-functions": "7.12.1",
"@babel/plugin-transform-modules-commonjs": "7.12.1",
"@babel/plugin-transform-runtime": "7.12.1",
"@babel/preset-env": "7.12.1",
"@babel/preset-react": "7.12.5",
"@babel/register": "7.12.1",
"@babel/runtime": "7.12.5",
"@babel/types": "7.15.0",
"@vercel/ncc": "0.33.1",
"ava": "1.2.1",
"babel-plugin-macros": "2.8.0",
"convert-source-map": "1.7.0",
"eslint": "7.32.0",
"eslint-config-prettier": "4.0.0",
"husky": "4.3.0",
"loader-utils": "1.2.3",
"prettier": "1.16.4",
"pretty-quick": "3.1.0",
"react": "17.0.1",
"react-dom": "17.0.1",
"semantic-release": "17.2.2",
"source-map": "0.7.3",
"string-hash": "1.1.3",
"stylis": "3.5.4",
"stylis-rule-sheet": "0.0.10"
},
"peerDependencies": {
"react": ">= 16.8.0 || 17.x.x || ^18.0.0-0"
},
"peerDependenciesMeta": {
"@babel/core": {
"optional": true
},
"babel-plugin-macros": {
"optional": true
}
},
"release": {
"branches": [
"main",
"alpha",
"beta"
]
},
"engines": {
"node": ">= 12.0.0"
},
"keywords": [
"babel-plugin-macros",
"vercel",
"zeit",
"css-in-js",
"css"
]
}