-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
127 lines (127 loc) · 3.42 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\".",
"name": "link-scraper",
"repository": {
"type": "git",
"url": "https://github.com/cdk-dev/link-scraper.git"
},
"bin": {},
"scripts": {
"start": "npx projen start -i",
"projen": "node .projenrc.js",
"no-changes": "(git log --oneline -1 | grep -q \"chore(release):\") && echo \"No changes to release.\"",
"bump": "yarn --silent no-changes || standard-version",
"release": "yarn --silent no-changes || (yarn bump && git push --follow-tags origin master)",
"projen:upgrade": "yarn upgrade -L projen && CI=\"\" yarn projen",
"compile": "tsc",
"watch": "tsc -w",
"build": "yarn test && yarn compile && yarn run package",
"package": "rm -fr dist && mkdir -p dist/js && yarn pack && mv *.tgz dist/js/",
"test": "rm -fr lib/ && jest --passWithNoTests --updateSnapshot && yarn eslint",
"test:watch": "jest --watch",
"test:update": "jest --updateSnapshot",
"eslint": "eslint --ext .ts --fix src test"
},
"author": {
"name": "Sebastian Korfmann",
"email": "sebastian@korfmann.net",
"organization": false
},
"devDependencies": {
"@types/jest": "^26.0.7",
"@types/mozilla-readability": "^0.2.0",
"@types/node": "^10.17.0",
"@typescript-eslint/eslint-plugin": "^4.3.0",
"@typescript-eslint/parser": "^4.3.0",
"eslint": "^7.10.0",
"eslint-import-resolver-node": "^0.3.4",
"eslint-import-resolver-typescript": "^2.3.0",
"eslint-plugin-import": "^2.22.1",
"jest": "^26.4.2",
"json-schema": "^0.2.5",
"projen": "^0.3.87",
"standard-version": "^9.0.0",
"ts-jest": "^26.1.0",
"typescript": "^3.9.5"
},
"peerDependencies": {},
"dependencies": {
"@mozilla/readability": "^0.3.0",
"playwright": "^1.4.2"
},
"bundledDependencies": [],
"keywords": [],
"main": "lib/index.js",
"license": "Apache-2.0",
"start": {
"start": {
"desc": "Shows this menu"
},
"projen": {
"desc": "Synthesize project configuration from .projenrc.js",
"category": 3
},
"bump": {
"desc": "Commits a bump to the package version based on conventional commits",
"category": 2
},
"release": {
"desc": "Bumps version & push to master",
"category": 2
},
"projen:upgrade": {
"desc": "upgrades projen to the latest version",
"category": 3
},
"compile": {
"desc": "Only compile",
"category": 0
},
"watch": {
"desc": "Watch & compile in the background",
"category": 0
},
"build": {
"desc": "Full release build (test+compile)",
"category": 0
},
"package": {
"desc": "Create an npm tarball",
"category": 2
},
"test": {
"desc": "Run tests",
"category": 1
},
"test:watch": {
"desc": "Run jest in watch mode",
"category": 1
},
"eslint": {
"desc": "Runs eslint against the codebase",
"category": 1
}
},
"version": "0.0.0",
"types": "lib/index.d.ts",
"jest": {
"clearMocks": true,
"collectCoverage": true,
"coveragePathIgnorePatterns": [
"/node_modules/"
],
"testPathIgnorePatterns": [
"/node_modules/"
],
"preset": "ts-jest",
"testMatch": [
"**/__tests__/**/*.ts?(x)",
"**/?(*.)+(spec|test).ts?(x)"
],
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.jest.json"
}
}
}
}