-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
97 lines (97 loc) · 3.1 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
{
"name": "detector-js",
"version": "2.0.11",
"description": "DetectorJS, zero-dependency platform/environment detector written in TypeScript",
"keywords": [
"detector",
"detector-js",
"detection",
"feature-detection",
"platform-detection",
"cpu-detection",
"gpu-detection",
"browser-detection",
"layout-engine-detection",
"engine-detection",
"os-detection",
"useragent-parser",
"zero-dependency",
"es6",
"javascript"
],
"source": "src/detector.ts",
"main": "dist/detector.js",
"module": "dist/detector.mjs",
"types": "dist/detector.types.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/pixu1980/detector-js.git"
},
"author": "Emiliano 'Pixu' Pisu <[email protected]>",
"contributors": [
"Emiliano 'Pixu' Pisu <[email protected]>"
],
"license": "MIT",
"private": false,
"targets": {
"main": {
"optimize": true
},
"module": {
"optimize": true
}
},
"scripts": {
"docs": "rm -rf docs && typedoc --tsconfig ./jsconfig.json && echo 'Documentation built in ./docs folder'",
"readme": "pkg-2-readme package.json > README.md -t \"./pkg-2-readme.template.md\" && echo 'README.md file built' || echo 'README.md building error'",
"version:patch": "standard-version --release-as patch && echo 'CHANGELOG.md file built'",
"version:minor": "standard-version --release-as minor && echo 'CHANGELOG.md file built'",
"version:major": "standard-version --release-as major && echo 'CHANGELOG.md file built'",
"version": "yarn version:patch",
"lerna": "lerna bootstrap && lerna link",
"cache:clear": "rm -rf .parcel-cache dist",
"deps:clear": "rm -rf packages/**/dist node_modules yarn.lock",
"clear": "yarn cache:clear && yarn deps:clear",
"reset": "yarn clear && yarn lerna && yarn serve",
"restart": "yarn cache:clear && yarn serve",
"serve": "parcel ./src/index.html",
"watch:all": "lerna exec --parallel yarn watch",
"prewatch": "yarn watch:all",
"watch": "parcel watch",
"build:all": "lerna run build",
"prebuild": "yarn build:all",
"build": "parcel build",
"prerelease": "yarn build:all && yarn build && yarn version && yarn readme && yarn docs",
"release": "lerna publish && yarn publish"
},
"bugs": {
"url": "https://github.com/pixu1980/detector-js/issues"
},
"homepage": "https://detector.js.org",
"documentation": "https://detector.js.org/docs/index.html",
"todo": "https://github.com/pixu1980/detector-js#todo",
"files": [
"dist"
],
"workspaces": [
"packages/*"
],
"dependencies": {
"@detector-js/core": "^0.0.6",
"@detector-js/feature": "^0.0.6",
"@detector-js/hardware": "^0.0.6",
"@detector-js/software": "^0.0.7",
"@detector-js/detector": "^0.0.7"
},
"devDependencies": {
"@parcel/packager-ts": "2.9.1",
"@parcel/transformer-typescript-types": "2.9.1",
"@types/node": "20.2.5",
"lerna": "6.6.2",
"parcel": "2.9.1",
"pkg-2-readme": "0.0.6",
"standard-version": "9.5.0",
"typedoc": "0.24.7",
"typescript": "5.0.4"
}
}