-
Notifications
You must be signed in to change notification settings - Fork 65
/
package.json
132 lines (132 loc) · 3.66 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
128
129
130
131
132
{
"name": "@artsy/fresnel",
"version": "8.0.1",
"description": "An SSR compatible approach to CSS media query based responsive layouts for React.",
"main": "dist/index.js",
"files": [
"dist"
],
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"engines": {
"node": ">=12.20.2",
"yarn": "1.x.x"
},
"typings": "dist/index.d.ts",
"scripts": {
"clean": "rm -rf dist",
"compile": "babel src --out-dir dist -s --source-maps --extensions '.ts,.tsx' --ignore src/**/__tests__",
"kitchen-sink": "cd examples/kitchen-sink && yarn start",
"lint": "tslint -c tslint.json --project tsconfig.json",
"precommit": "lint-staged",
"prepush": "yarn run type-check",
"prepublishOnly": "yarn clean && yarn compile && yarn type-declarations",
"prettier": "prettier",
"prettier-project": "yarn prettier-write 'src/**/*.{ts,tsx}'",
"prettier-write": "yarn prettier --write",
"release": "auto shipit",
"test": "yarn type-check && yarn lint && yarn jest",
"type-check": "tsc --emitDeclarationOnly --pretty",
"type-declarations": "tsc --emitDeclarationOnly",
"watch": "concurrently --raw --kill-others 'yarn compile -w' 'tsc --emitDeclarationOnly -w'"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/artsy/fresnel.git"
},
"authors": [
"Eloy Durán <[email protected]>",
"Art.sy Inc"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/artsy/fresnel/issues"
},
"homepage": "https://github.com/artsy/fresnel#readme",
"peerDependencies": {
"react": ">=18.0.0"
},
"devDependencies": {
"@artsy/auto-config": "1.2.0",
"@artsy/detect-responsive-traits": "0.1.0",
"@babel/cli": "7.15.4",
"@babel/core": "7.0.0",
"@babel/node": "7.0.0",
"@babel/plugin-proposal-class-properties": "7.1.0",
"@babel/preset-env": "7.0.0",
"@babel/preset-react": "7.0.0",
"@babel/preset-typescript": "7.0.0",
"@types/chalk": "2.2.0",
"@types/express": "4.16.0",
"@types/jest": "23.3.1",
"@types/node": "10.9.4",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react-test-renderer": "^18.3.0",
"@types/webpack-dev-server": "3.1.1",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "23.4.2",
"babel-loader": "8.0.4",
"babel-preset-env": "1.7.0",
"chalk": "2.4.1",
"concurrently": "3.6.1",
"express": "4.19.2",
"husky": "0.14.3",
"jest": "24.9.0",
"jest-styled-components": "6.2.2",
"lint-staged": "7.3.0",
"prettier": "1.17.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-test-renderer": "^18.3.1",
"static-extend": "0.1.2",
"styled-components": "3.4.5",
"tslint": "^6.1.3",
"tslint-config-prettier": "1.15.0",
"tslint-react": "3.6.0",
"typescript": "^4.9.5",
"typescript-styled-plugin": "0.18.1",
"webpack": "4.46.0",
"webpack-dev-server": "4.2.1"
},
"lint-staged": {
"*.@(ts|tsx)": [
"tslint -c tslint.json --fix --exclude '**/dist/*'",
"yarn prettier-write --",
"git add"
]
},
"prettier": {
"semi": false,
"singleQuote": false,
"trailingComma": "es5",
"bracketSpacing": true,
"proseWrap": "always"
},
"jest": {
"transform": {
".(ts|tsx)": "babel-jest"
},
"testRegex": "(/__tests__/.*|\\.(test))\\.(ts|tsx)$",
"testPathIgnorePatterns": [
"<rootDir>/dist/"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"modulePathIgnorePatterns": [
"<rootDir>/dist/*"
],
"moduleDirectories": [
"node_modules",
"<rootDir>/src"
]
},
"keywords": [
"react",
"responsive"
]
}