forked from kantord/LibreLingo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
95 lines (95 loc) · 2.86 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
{
"name": "@librelingo/monorepo",
"private": true,
"scripts": {
"cypress": "yarn web cypress",
"export:production": "yarn web installAllExternalCourses && yarn exportAllCourses && yarn web export && yarn docs:build && mv ./apps/web/__sapper__/ . && poetry run python apps/tools/librelingo_tools/generate.py --courses ./config/courses.json --outdir ./__sapper__/export/course-tools-legacy",
"export": "yarn web export && mv ./apps/web/__sapper__/ .",
"deploy": "echo 'librelingo.app' > __sapper__/export/CNAME && gh-pages -d __sapper__/export",
"commit": "git-cz",
"test": "jest",
"test:ci": "yarn web test:ci",
"web": "yarn workspace @librelingo/web",
"types": "yarn workspaces run types",
"format": "eslint . --fix --max-warnings=0 && prettier --write apps/**/*.svelte --ignore-path ./.prettierignore_for_svelte",
"lint": "eslint . --max-warnings=0 && prettier --check apps/**/*.svelte --ignore-path ./.prettierignore_for_svelte",
"exportAllCourses": "./scripts/exportAllYamlCourses.sh",
"exportCourse": "./scripts/exportYamlCourse.sh",
"docs": "poetry run mkdocs serve",
"docs:build": "poetry run mkdocs build --site-dir ./apps/web/__sapper__/export/docs/"
},
"workspaces": {
"packages": [
"apps/*"
],
"nohoist": [
"**/bulma",
"**/bulma/**",
"**/@openfonts/**",
"**/svelte/**",
"svelte/**",
"svelte",
"**/svelte",
"sapper/**",
"sapper",
"**/sapper",
"knapsack-pro-cypress"
]
},
"devDependencies": {
"@babel/preset-typescript": "7.16.7",
"@tsconfig/svelte": "3.0.0",
"@types/jest": "27.4.1",
"@types/node": "16.11.26",
"@typescript-eslint/eslint-plugin": "5.18.0",
"@typescript-eslint/parser": "5.18.0",
"eslint": "8.12.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-cypress": "2.12.1",
"eslint-plugin-jest": "26.1.4",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-svelte3": "3.4.1",
"prettier": "2.6.2",
"prettier-plugin-svelte": "^2.6.0",
"remark": "^14.0.2",
"sapper": "0.29.3",
"semantic-release": "19.0.2",
"semantic-release-monorepo": "7.0.5",
"source-map-loader": "3.0.1",
"svelte": "3.46.6",
"svelte-check": "2.5.0",
"svelte-preprocess": "4.10.5",
"typescript": "4.6.3"
},
"nyc": {
"report-dir": "cypress-coverage",
"extension": [
".js",
".svelte"
],
"all": true,
"cache": false
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"cypress-cucumber-preprocessor": {
"nonGlobalStepDefinitions": true
},
"release": {
"extends": "semantic-release-monorepo",
"branches": [
"main"
]
},
"msw": {
"workerDirectory": "apps/web/static"
}
}