-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
73 lines (73 loc) · 2.96 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
{
"name": "WikibaseLexeme",
"private": true,
"config": {
"remoteVersion": {
"vue": "https://raw.githubusercontent.com/wikimedia/mediawiki/#{ZUUL_BRANCH}/resources/lib/vue/vue.common.prod.js",
"vuex": "https://raw.githubusercontent.com/wikimedia/mediawiki/#{ZUUL_BRANCH}/resources/lib/vuex/vuex.js"
},
"snl": {
"src": "resources/special/new-lexeme",
"dist": "resources/special/new-lexeme-dist",
"cjs": "SpecialNewLexeme.cjs.js",
"css": "style.css"
}
},
"scripts": {
"selenium-test": "npm run cypress:parallel",
"test": "run-s test:*",
"test:grunt": "grunt test",
"test:snl-distnodiff": "run-s snl:install snl:build snl:cp snl:diff",
"test:snl-main": "git -C $npm_package_config_snl_src branch --contains HEAD main | grep -q .",
"test:mwlibs": "echo 'disabled (T297381)' # ZUUL_BRANCH=${ZUUL_BRANCH:-master} lib-version-check",
"fix": "grunt fix",
"bump-special-new-lexeme": "run-s snl:fetch snl:checkout snl:install snl:build snl:cp snl:add snl:restore",
"snl:fetch": "git -C $npm_package_config_snl_src fetch origin main",
"snl:checkout": "git -C $npm_package_config_snl_src -c advice.detachedHead=false checkout FETCH_HEAD",
"snl:install": "npm -C $npm_package_config_snl_src i",
"snl:build": "npm -C $npm_package_config_snl_src run build",
"snl:cp": "run-p snl:cp:*",
"snl:cp:cjs": "cp $npm_package_config_snl_src/dist/$npm_package_config_snl_cjs $npm_package_config_snl_dist/",
"snl:cp:css": "cp $npm_package_config_snl_src/dist/$npm_package_config_snl_css $npm_package_config_snl_dist/",
"snl:add": "git add $npm_package_config_snl_src $npm_package_config_snl_dist",
"snl:restore": "git -C $npm_package_config_snl_src checkout -",
"snl:dev": "run-s snl:build snl:cp",
"snl:diff": "git diff --exit-code $npm_package_config_snl_dist",
"cypress:open": "CYPRESS_CACHE_FOLDER=./cypress/.cache cypress open",
"cypress:run": "CYPRESS_CACHE_FOLDER=./cypress/.cache cypress run",
"cypress:parallel": "cypress-parallel -s cypress:run -t 2 -d './cypress/e2e/**/*.cy.ts'"
},
"devDependencies": {
"@wmde/eslint-config-wikimedia-typescript": "^0.2.12",
"@wmde/lib-version-check": "^0.1.1-alpha.2",
"cypress": "^13.13.2",
"cypress-parallel": "^0.14.0",
"cypress-wikibase-api": "^0.0.6",
"eslint-config-wikimedia": "^0.28.2",
"eslint-plugin-chai-friendly": "^1.0.1",
"eslint-plugin-cypress": "^3.4.0",
"eslint-plugin-jsonc": "^2.16.0",
"eslint-plugin-promise": "^7.1.0",
"grunt": "1.6.1",
"grunt-banana-checker": "0.13.0",
"grunt-eslint": "^24.3.0",
"grunt-jasmine-nodejs": "^1.6.1",
"grunt-stylelint": "^0.20.1",
"jasmine": "^5.1.0",
"jquery": "3.7.1",
"jsdom": "^25.0.1",
"lodash": "^4.17.21",
"module-alias": "^2.2.3",
"npm-run-all": "^4.1.5",
"request": "^2.88.2",
"sinon": "^19.0.2",
"stylelint-config-wikimedia": "^0.17.2",
"typescript": "^5.5.4",
"typescript-eslint": "^8.2.0",
"unexpected": "^13.2.1",
"unexpected-dom": "^6.0.1",
"unexpected-sinon": "^11.1.0",
"vue": "3.4.27",
"vuex": "4.0.2"
}
}