-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
58 lines (58 loc) · 1.81 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": "@sorare/actioncable",
"version": "1.0.3",
"description": "WebSocket/ActionCable client for Sorare",
"author": "Sorare",
"license": "MIT",
"main": "index.js",
"dependencies": {
"ws": "^8.4.0"
},
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.5",
"@babel/plugin-transform-destructuring": "^7.16.5",
"@babel/preset-env": "^7.16.5",
"@babel/preset-typescript": "^7.16.5",
"@babel/runtime": "^7.16.5",
"@types/jest": "^27.0.3",
"@types/ws": "^8.2.2",
"@typescript-eslint/eslint-plugin": "^5.7.0",
"@typescript-eslint/parser": "^5.7.0",
"babel-plugin-macros": "^3.1.0",
"eslint": "^8.4.1",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-chai-friendly": "^0.7.2",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^27.4.5",
"prettier": "^2.5.1",
"prettier-eslint": "^13.0.0",
"source-map-explorer": "^2.5.2",
"ts-loader": "^9.2.6",
"typescript": "^4.5.4"
},
"scripts": {
"clean": "rm -rf dist/",
"lint": "yarn run eslint src/*.ts --max-warnings 0",
"build": "yarn run build:types && yarn run build:js",
"build:types": "tsc --emitDeclarationOnly",
"build:js": "babel src --out-dir dist --extensions \".js,.ts\" --source-maps inline",
"test": "jest ./src",
"package": "yarn build && cp package.json README.md logo.png LICENSE dist/ && rm dist/index.test.*",
"release": "yarn clean && yarn version && yarn package && npm publish dist/ --access public"
},
"prettier": {
"singleQuote": true,
"trailingComma": "es5",
"arrowParens": "always"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}