-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
79 lines (79 loc) · 2.43 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
{
"name": "@quentin-sommer/react-useragent",
"version": "3.2.0",
"description": "react-useragent React component",
"main": "dist/index.js",
"module": "dist/react-useragent.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"build-demo": "cd example && npm run build && cd -",
"test": "tsdx test --env=jsdom",
"changelog": "github_changelog_generator && git add CHANGELOG.md && git commit -m 'updated changelog' && git push origin master",
"gh-pages-upload": "gh-pages --dist ./example/dist",
"lint": "prettier './{src,test,example}/**/*{.ts,.tsx}' --write",
"publish-major": "npm run test && npm run build && npm run build-demo && npm version major && npm publish --access public && git push --tags && sleep 5 && npm run changelog && npm run gh-pages-upload",
"publish-minor": "npm run test && npm run build && npm run build-demo && npm version minor && npm publish --access public && git push --tags && sleep 5 && npm run changelog && npm run gh-pages-upload ",
"publish-patch": "npm run test && npm run build && npm run build-demo && npm version patch && npm publish --access public && git push --tags && sleep 5 && npm run changelog && npm run gh-pages-upload "
},
"peerDependencies": {
"react": ">=16"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"prettier": {
"printWidth": 80,
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"bracketSpacing": false
},
"engines": {
"node": ">=8"
},
"jest": {
"globals": {
"__DEV__": true
}
},
"devDependencies": {
"@types/jest": "^26.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/ua-parser-js": "^0.7.33",
"gh-pages": "^3.0.0",
"husky": "^4.0.0",
"prettier": "^2.0.1",
"pretty-quick": "^3.0.0",
"prop-types": "^15.7.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"tsdx": "^0.14.0",
"tslib": "^2.0.0",
"typescript": "^4.0.2"
},
"dependencies": {
"ua-parser-js": "^0.7.20"
},
"author": {
"name": "Quentin Sommer",
"url": "http://quentin-sommer.com"
},
"homepage": "https://github.com/quentin-sommer/react-useragent",
"license": "MIT",
"repository": "https://github.com/quentin-sommer/react-useragent",
"keywords": [
"react-component",
"useragent",
"react",
"UA",
"parser"
]
}