This repository has been archived by the owner on Aug 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 2.8 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
{
"name": "is-server-side",
"version": "1.0.3",
"description": "⛔️ [DEPRECATED] Quickly determine if code is executing on the client or on the server with SSR/SSG",
"keywords": [
"deprecated",
"obsolete",
"archived",
"ssr",
"ssg",
"next",
"server",
"isserver",
"isserverside",
"serverside",
"client",
"detect"
],
"repository": {
"type": "git",
"url": "https://github.com/Xunnamius/is-server-side"
},
"license": "Unlicense",
"author": "Xunnamius",
"sideEffects": false,
"main": "dist/umd.js",
"module": "dist/modules/index.js",
"types": "dist/modules/index.d.ts",
"files": [
"/dist",
"/LICENSE",
"/package.json",
"/README.md"
],
"scripts": {
"build": "npm run clean && tsc --project tsconfig.types.json && NODE_ENV=production webpack -p && babel src --extensions .ts --out-dir dist/modules",
"check-types": "command -v unbuffer >/dev/null && (unbuffer tsc; unbuffer eslint .) | less -R -FX || (tsc; eslint .)",
"clean": "rm -rf dist",
"list-tasks": "npm run",
"postpublish": "npm run clean",
"repl": "command -v rlwrap >/dev/null && rlwrap npx -p @babel/core -p @babel/node babel-node",
"test": "BABEL_ENV=test jest"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-decorators": "^7.10.5",
"@babel/plugin-proposal-export-default-from": "^7.10.4",
"@babel/plugin-proposal-function-bind": "^7.11.5",
"@babel/plugin-proposal-json-strings": "^7.10.4",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
"@babel/plugin-proposal-numeric-separator": "^7.10.4",
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
"@babel/plugin-proposal-throw-expressions": "^7.10.4",
"@babel/plugin-transform-react-jsx-source": "^7.10.5",
"@babel/preset-env": "^7.11.5",
"@babel/preset-typescript": "^7.10.4",
"@types/confusing-browser-globals": "^1.0.0",
"@types/jest": "^26.0.14",
"@types/node": "^14.11.2",
"@types/webpack": "^4.41.22",
"@typescript-eslint/eslint-plugin": "^4.3.0",
"@typescript-eslint/parser": "^4.3.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.3.0",
"babel-loader": "^8.1.0",
"babel-plugin-source-map-support": "^2.1.3",
"confusing-browser-globals": "^1.0.9",
"eslint": "^7.10.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^2.3.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.0.2",
"eslint-plugin-react": "^7.21.3",
"jest": "^26.4.2",
"jest-circus": "^26.4.2",
"jest-extended": "^0.11.5",
"source-map-support": "^0.5.19",
"typescript": "^4.0.3",
"webpack": "^4.44.2",
"webpack-cli": "^3.3.12"
}
}