generated from garronej/ts-ci
-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
package.json
executable file
·127 lines (127 loc) · 3.57 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
125
126
127
{
"name": "tss-react",
"version": "4.4.4",
"description": "Type safe CSS-in-JS API heavily inspired by react-jss",
"repository": {
"type": "git",
"url": "git://github.com/garronej/tss-react.git"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"module": "dist/esm/index.js",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/index.js"
},
"./mui": {
"import": "./dist/esm/mui.js",
"require": "./dist/mui.js"
},
"./nextJs": {
"import": "./dist/esm/nextJs.js",
"require": "./dist/nextJs.js"
},
"./next": {
"import": "./dist/esm/next.js",
"require": "./dist/next.js"
},
"./compat": {
"import": "./dist/esm/compat.js",
"require": "./dist/compat.js"
},
"./mui-compat": {
"import": "./dist/esm/mui-compat.js",
"require": "./dist/mui-compat.js"
},
"./cssAndCx": {
"import": "./dist/esm/cssAndCx.js",
"require": "./dist/cssAndCx.js"
},
"./dsfr": {
"import": "./dist/esm/dsfr.js"
}
},
"scripts": {
"build": "tsc && tsc --module es2015 --outDir dist/esm",
"start_spa": "yarn yarn_link && cd src/test/apps/spa && yarn start",
"start_ssr": "yarn yarn_link && cd src/test/apps/ssr && yarn dev",
"lint:check": "eslint . --ext .ts,.tsx",
"lint": "yarn lint:check --fix",
"_format": "prettier '**/*.{ts,tsx,json,md}'",
"format": "yarn _format --write",
"format:check": "yarn _format --list-different",
"yarn_link": "ts-node src/bin/yarn_link.ts"
},
"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": [
"dist/",
"!dist/test/",
"!dist/esm/test/",
"!dist/tsconfig.tsbuildinfo",
"!dist/esm/tsconfig.tsbuildinfo",
"!dist/package.json"
],
"keywords": [
"jss",
"hooks",
"react",
"@material-ui",
"mui",
"css",
"makeStyles",
"withStyles"
],
"homepage": "https://www.tss-react.dev",
"peerDependencies": {
"react": "^16.8.0 || ^17.0.2 || ^18.0.0",
"@emotion/react": "^11.4.1",
"@emotion/server": "^11.4.0"
},
"peerDependenciesMeta": {
"@emotion/server": {
"optional": true
}
},
"dependencies": {
"@emotion/serialize": "*",
"@emotion/utils": "*",
"@emotion/cache": "*"
},
"devDependencies": {
"@codegouvfr/react-dsfr": "^0.0.28",
"@emotion/server": "11.4.0",
"@emotion/react": "11.9.0",
"@mui/material": "5.10.7",
"@emotion/styled": "11.3.0",
"@types/node": "^15.3.1",
"@types/react": "18.0.9",
"@types/react-dom": "18.0.4",
"@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": "12.3.1",
"prettier": "^2.3.0",
"react": "18.1.0",
"ts-node": "^10.2.1",
"tsafe": "^0.10.0",
"typescript": "^4.8.4"
}
}