-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
61 lines (61 loc) · 1.87 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
{
"name": "is-in-browser",
"version": "2.0.0",
"description": "Simple check to see if current app is running in browser",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
},
"./package.json": "./package.json"
},
"scripts": {
"dist.cjs": "BABEL_ENV=cjs babel -x \".ts\" src/index.ts -o dist/index.cjs",
"dist.es": "BABEL_ENV=es babel -x \".ts\" src/index.ts -o dist/index.mjs",
"dist.declarations": "tsc --emitDeclarationOnly src/index.ts --declaration --outDir dist",
"dist": "concurrently \"npm:dist.*\"",
"test.jest": "BABEL_ENV=cjs jest",
"test.node": "BABEL_ENV=cjs babel-node -x \".ts\" src/node.check.ts",
"test": "concurrently \"npm:test.*\"",
"lint": "eslint src --ext .ts",
"format": "prettier -w src",
"prepublishOnly": "concurrently npm:test npm:dist"
},
"keywords": [],
"browserslist": [
"defaults"
],
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.12.13",
"@babel/core": "^7.12.13",
"@babel/node": "^7.12.13",
"@babel/plugin-transform-modules-commonjs": "^7.12.13",
"@babel/preset-typescript": "^7.12.13",
"@types/jest": "^26.0.20",
"@typescript-eslint/eslint-plugin": "^4.14.2",
"@typescript-eslint/parser": "^4.14.2",
"babel-eslint": "^4.1.6",
"concurrently": "^5.3.0",
"eslint": "^7.19.0",
"eslint-plugin-prettier": "^3.3.1",
"jest": "^26.6.3",
"prettier": "^2.2.1",
"typescript": "^4.1.3"
},
"directories": {
"test": "test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tuxsudo/is-in-browser.git"
},
"author": "Jared Anderson",
"bugs": {
"url": "https://github.com/tuxsudo/is-in-browser/issues"
},
"homepage": "https://github.com/tuxsudo/is-in-browser#readme"
}