/
package.json
127 lines (127 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
{
"name": "@artsy/react-responsive-media",
"version": "2.0.0-beta.5",
"description": "A declarative SSR-compatible approach to CSS media query based responsive layouts.",
"main": "dist/index.js",
"files": [
"dist"
],
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"typings": "dist/index.d.ts",
"scripts": {
"clean": "rm -rf dist",
"compile": "babel src --out-dir dist -s --source-map --extensions '.ts,.tsx' --ignore src/**/__tests__",
"example": "babel-node --extensions '.js,.jsx,.ts,.tsx' example/server.tsx",
"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://git@github.com/artsy/react-responsive-media.git"
},
"authors": [
"Eloy Durán <eloy.de.enige@gmail.com>",
"Art.sy Inc"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/artsy/react-responsive-media/issues"
},
"homepage": "https://github.com/artsy/react-responsive-media#readme",
"peerDependencies": {
"react": "^16.3.0"
},
"devDependencies": {
"@artsy/detect-responsive-traits": "^0.0.1",
"@babel/cli": "^7.0.0",
"@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.1.0",
"@types/node": "^10.3.0",
"@types/react": "^16.4.13",
"@types/react-dom": "^16.0.9",
"@types/react-test-renderer": "^16.0.3",
"@types/webpack-dev-server": "^3.1.1",
"auto-release-cli": "^1.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.0.1",
"babel-loader": "^8.0.4",
"babel-preset-env": "^1.7.0",
"chalk": "^2.4.1",
"concurrently": "^3.5.1",
"express": "^4.16.4",
"husky": "^0.14.3",
"jest": "^23.1.0",
"jest-styled-components": "^6.2.2",
"lint-staged": "^7.2.0",
"prettier": "^1.12.1",
"react": "16.3.2",
"react-dom": "^16.2.0",
"react-test-renderer": "^16.6.0",
"static-extend": "^0.1.2",
"styled-components": "^3.3.2",
"tslint": "^5.10.0",
"tslint-config-prettier": "^1.13.0",
"tslint-react": "^3.6.0",
"typescript": "^2.9.0",
"typescript-styled-plugin": "^0.6.3",
"webpack": "^4.25.1",
"webpack-dev-server": "^3.1.10"
},
"lint-staged": {
"*.@(ts|tsx)": [
"tslint -c tslint.json --fix",
"yarn prettier-write --",
"git add"
]
},
"prettier": {
"semi": false,
"singleQuote": false,
"trailingComma": "es5",
"bracketSpacing": true
},
"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"
]
}