-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
71 lines (71 loc) · 1.91 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
{
"title": "Twinkle enwiki",
"name": "twinkle-enwiki",
"repository": {
"type": "git",
"url": "https://github.com/wikimedia-gadgets/twinkle-enwiki"
},
"scripts": {
"format": "prettier --write .",
"lint": "eslint . --ext .js --ext .ts",
"lint:fix": "eslint . --ext .js --ext .ts --fix",
"build": "grunt build",
"quickbuild": "webpack",
"start": "node scripts/server.js",
"test:prod": "webpack && jest",
"test": "env DEBUG=true webpack && jest -i",
"test:unit": "webpack && jest --selectProjects unit",
"test:integration": "webpack && jest --selectProjects integration",
"test:integration:setup": "npm i --no-save [email protected] && cd tests/integration/docker && bash main.sh",
"test:integration:teardown": "cd tests/integration/docker && docker-compose down"
},
"sideEffects": [
"src/globals.ts"
],
"license": "CC-BY-SA-3.0",
"dependencies": {
"tslib": "2.0.3",
"twinkle-core": "^3.1.2"
},
"devDependencies": {
"@types/chai": "^4.2.16",
"@types/chai-as-promised": "^7.1.3",
"@types/jest": "^26.0.22",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"chalk": "^4.1.0",
"diff": "^5.0.0",
"eslint": "^7.24.0",
"grunt": "^1.3.0",
"grunt-contrib-clean": "^2.0.0",
"grunt-contrib-concat": "^1.0.1",
"grunt-contrib-copy": "^1.0.0",
"grunt-replace": "^1.0.1",
"grunt-webpack": "^4.0.2",
"husky": "^4.3.7",
"jest": "^26.6.3",
"jest-playwright-preset": "^1.5.1",
"lint-staged": "^10.5.3",
"minimist": "^1.2.5",
"mock-mediawiki": "^1.0.1",
"mwn": "^0.10.4",
"prettier": "^2.2.1",
"prompts": "^2.4.1",
"ts-jest": "^26.5.5",
"ts-loader": "8.0.13",
"typescript": "4.1.2",
"webpack": "^5.33.2",
"webpack-cli": "^4.6.0",
"webpack-dev-server": "^3.11.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts(x)?": "prettier --write"
}
}