-
Notifications
You must be signed in to change notification settings - Fork 236
/
package.json
58 lines (58 loc) · 1.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
{
"name": "ismobilejs",
"publishConfig": {
"access": "public"
},
"version": "0.0.0-development",
"description": "A simple JS library that detects mobile devices.",
"keywords": [
"ismobile",
"device detection",
"mobile devices",
"useragent"
],
"homepage": "https://github.com/kaimallea/isMobile",
"license": "MIT",
"author": {
"name": "Kai Mallea",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/kaimallea/isMobile.git"
},
"main": "cjs/index.js",
"module": "esm/index.js",
"jsdelivr": "dist/isMobile.min.js",
"types": "types",
"scripts": {
"prebuild": "rm -rf cjs esm dist",
"build": "yarn build:library && yarn build:browser",
"build:library": "web-scripts build",
"build:browser": "parcel build --target browser --experimental-scope-hoisting --global isMobile --out-file isMobile.min.js src/index.browser.ts",
"test": "jest",
"format": "web-scripts format",
"lint": "web-scripts lint",
"commit": "web-scripts commit",
"release": "web-scripts release",
"prepare": "web-scripts audit"
},
"husky": {
"hooks": {
"pre-commit": "web-scripts precommit --jest-config ./jest.config.js",
"commit-msg": "web-scripts commitmsg"
}
},
"devDependencies": {
"@spotify/web-scripts": "^9.0.0",
"@types/puppeteer": "^5.4.2",
"husky": "^6.0.0",
"jest-puppeteer": "^4.4.0",
"parcel-bundler": "^1.12.4",
"puppeteer": "^8.0.0",
"ts-jest": "^26.4.4"
},
"dependencies": {
"caniuse-lite": "^1.0.30001173"
}
}