forked from infinitered/reactotron
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 3.13 KB
/
package.json
File metadata and controls
111 lines (111 loc) · 3.13 KB
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "reactotron-core-contract",
"version": "0.3.2",
"description": "Typescript contracts for websocket messages between server and clients",
"author": "Infinite Red",
"license": "MIT",
"bugs": {
"url": "https://github.com/infinitered/reactotron/issues"
},
"homepage": "https://github.com/infinitered/reactotron/tree/master/lib/reactotron-core-contract",
"repository": "https://github.com/infinitered/reactotron/tree/master/lib/reactotron-core-contract",
"files": [
"dist",
"src"
],
"main": "./dist/commonjs/index.js",
"module": "./dist/module/index.js",
"types": "./dist/typescript/commonjs/src/index.d.ts",
"exports": {
".": {
"source": "./src/index.ts",
"types": "./dist/typescript/commonjs/src/index.d.ts",
"module": "./dist/module/index.js",
"default": "./dist/commonjs/index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"test": "jest --passWithNoTests",
"test:watch": "jest --watch",
"format": "prettier '*.{js,ts,tsx,json,md,css,yml}|**/*.{js,ts,tsx,json,md,css,yml}' --config ../../.prettierrc --ignore-path ../../.prettierignore",
"format:check": "yarn format --check",
"format:write": "yarn format --write",
"prebuild": "yarn clean",
"build": "bob build",
"prebuild:dev": "yarn clean",
"build:dev": "bob build",
"clean": "rimraf ./dist",
"lint": "eslint src --ext .ts,.tsx",
"tsc": "tsc",
"typecheck": "tsc --noEmit --emitDeclarationOnly false",
"ci:test": "yarn test --runInBand",
"prepare": "bob build"
},
"devDependencies": {
"@babel/core": "^7.23.2",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/preset-env": "^7.23.2",
"@babel/preset-typescript": "^7.23.2",
"@types/jest": "^29.5.7",
"@types/node": "^18.18.8",
"@types/ws": "^8.5.8",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
"babel-eslint": "^10.1.0",
"babel-jest": "^29.7.0",
"eslint": "^8.53.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-n": "^16.2.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-standard": "^5.0.0",
"jest": "^29.7.0",
"jest-environment-node": "^29.7.0",
"prettier": "^3.0.3",
"react-native-builder-bob": "^0.40.13",
"rimraf": "5.0.5",
"ts-jest": "^29.1.1",
"typescript": "^4.9.5",
"ws": "^8.17.1"
},
"eslintConfig": {
"root": false,
"globals": {
"__DEV__": false,
"jasmine": false,
"beforeAll": false,
"afterAll": false,
"beforeEach": false,
"afterEach": false,
"test": false,
"expect": false,
"describe": false,
"jest": false,
"it": false
}
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testMatch": [
"**/*.test.[tj]s"
]
},
"react-native-builder-bob": {
"source": "src",
"output": "dist",
"exclude": "**/*.test.{tsx,ts}",
"targets": [
"commonjs",
[
"module",
{
"esm": true
}
],
"typescript"
]
}
}