-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
44 lines (44 loc) · 1.23 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
{
"name": "react-hooks-responsive",
"version": "0.2.1",
"description": "A react hooks approach to responsive layout",
"repository": "https://github.com/garth/react-hooks-responsive.git",
"author": "Garth Williams",
"license": "MIT",
"keywords": [
"react",
"responsive",
"hooks"
],
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"scripts": {
"prebuild": "rimraf lib && rimraf es",
"build:lib": "tsc --outDir lib --target es5 --preserveWatchOutput --downlevelIteration",
"build:es": "tsc --outDir es --module es2015 --preserveWatchOutput",
"build": "npm run build:lib & npm run build:es",
"lint": "tslint -c tslint.json -t verbose 'src/**/*.{ts,tsx}'",
"prettier": "prettier --write \"src/**/*.{js,json,ts,tsx,scss,html}\""
},
"prettier": {
"printWidth": 120,
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"jsxBracketSameLine": true
},
"devDependencies": {
"@types/react": "^16.9.2",
"prettier": "^1.18.2",
"react": "^16.9.0",
"rimraf": "^3.0.0",
"tslint": "^5.19.0",
"tslint-config-prettier": "^1.18.0",
"tslint-react": "^4.0.0",
"typescript": "^3.6.2"
},
"dependencies": {
"tslib": "^1.10.0"
}
}