This repository has been archived by the owner on Jul 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
91 lines (91 loc) · 2.31 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
{
"name": "twitterize",
"version": "0.0.0-development",
"main": "src/index.js",
"types": "src/index.d.ts",
"scripts": {
"lint": "eslint src",
"format": "prettier --write src/**/*.{js,ts,css,less,scss,vue,json,gql,md,yml,yaml}",
"test": "jest --coverage",
"example:search": "run.env node examples/search-tweets.js",
"example:search-ts": "run.env npx ts-node examples/search-tweets.ts",
"example:post": "run.env node examples/post-tweet.js",
"example:upload": "run.env node examples/upload-tweet.js",
"postinstall": "git config core.hooksPath .githooks || true",
"prepare": "git config core.hooksPath .githooks || true"
},
"keywords": [
"twitter",
"api",
"oauth",
"authorization"
],
"author": "Mauricio Robayo <rfmajo@gmail.com> (https://www.mauriciorobayo.com)",
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"eslint": "^7.26.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.2",
"jest": "^27.0.1",
"lint-staged": "^11.0.0",
"prettier": "^2.3.0",
"run.env": "^1.1.0",
"typescript": "^4.2.4"
},
"description": "Send authorized requests to the Twitter API.",
"repository": {
"type": "git",
"url": "git+https://github.com/MauricioRobayo/twitterize.git"
},
"bugs": {
"url": "https://github.com/MauricioRobayo/twitterize/issues"
},
"homepage": "https://github.com/MauricioRobayo/twitterize#readme",
"files": [
"src"
],
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "all"
},
"jest": {
"testEnvironment": "node",
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"collectCoverageFrom": [
"src/**/*.js"
],
"coveragePathIgnorePatterns": [
"src/index.js"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"src/**/*.js": [
"eslint --fix",
"jest --bail --findRelatedTests"
],
"**/*.{js,ts,css,less,scss,vue,json,gql,md,yml,yaml}": [
"prettier --write"
]
},
"release": {
"branches": [
"main"
]
}
}