generated from freeCodeCamp/template
-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
package.json
117 lines (117 loc) · 4.02 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
{
"name": "eleventy-news",
"version": "1.0.0",
"description": "Eleventy for https://www.freecodecamp.org/news",
"main": ".eleventy.js",
"engines": {
"node": ">=18",
"npm": ">=8"
},
"scripts": {
"start": "npm run develop",
"start:ci:english": "LOCALE_FOR_UI=english DO_NOT_FETCH_FROM_GHOST=true npm run develop:ci",
"start:ci:chinese": "LOCALE_FOR_UI=chinese LOCALE_FOR_GHOST=chinese npm run develop:ci",
"start:ci:espanol": "LOCALE_FOR_UI=espanol LOCALE_FOR_GHOST=espanol npm run develop:ci",
"start:containers": "docker compose -f './docker/ghost/docker-compose.yml' up -d",
"stop:containers": "docker compose -f './docker/ghost/docker-compose.yml' down",
"clean": "npm-run-all -p clean:*",
"clean:error-logs": "shx rm -f *-errors.log",
"clean:dist": "shx rm -rf dist/",
"cypress": "cypress",
"cypress:run:english": "npm run cypress -- run --spec 'cypress/e2e/english/**/*'",
"cypress:run:chinese": "npm run cypress -- run --spec 'cypress/e2e/chinese/**/*'",
"cypress:run:espanol": "npm run cypress -- run --spec 'cypress/e2e/espanol/**/*'",
"cypress:watch": "npm run cypress -- open",
"dev": "npm run develop",
"predevelop": "npm run clean && node ./tools/download-trending.js",
"develop": "cross-env ELEVENTY_ENV=dev NODE_OPTIONS=--max-old-space-size=8192 eleventy --serve",
"predevelop:ci": "npm run clean && node ./tools/download-trending.js",
"develop:ci": "cross-env ELEVENTY_ENV=ci NODE_OPTIONS=--max-old-space-size=8192 eleventy --serve",
"prebuild": "npm run clean && node ./tools/download-trending.js",
"build": "cross-env ELEVENTY_ENV=prod NODE_OPTIONS=--max-old-space-size=8192 eleventy",
"build:ci": "cross-env ELEVENTY_ENV=ci eleventy",
"postbuild": "node ./config/i18n/generate-serve-config.js",
"test": "cross-env ELEVENTY_ENV=ci NODE_OPTIONS=--experimental-vm-modules jest",
"lint": "npm-run-all lint:*",
"lint:code": "eslint . --ext .js --cache",
"lint:i18n-schema": "node ./config/i18n/schema-validation.js",
"lint:pretty": "prettier --check .",
"format": "prettier --write .",
"prepare": "husky",
"type-check": "tsc -p ./cypress/tsconfig.json --noEmit"
},
"repository": {
"type": "git",
"url": "https://github.com/freeCodeCamp/news"
},
"keywords": [
"eleventy",
"ghost",
"starter",
"boilerplate",
"static",
"site",
"jamstack"
],
"author": {
"email": "[email protected]",
"name": "freeCodeCamp.org",
"url": "https://www.freecodecamp.org"
},
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/freeCodeCamp/news/issues"
},
"contributors": [
"https://github.com/freeCodeCamp/news/graphs/contributors"
],
"devDependencies": {
"@11ty/eleventy": "2.0.1",
"@11ty/eleventy-plugin-rss": "1.2.0",
"@tryghost/content-api": "1.11.21",
"@tryghost/helpers": "1.1.90",
"@types/node": "22.8.2",
"algoliasearch": "4.24.0",
"clean-css": "5.3.3",
"cross-env": "7.0.3",
"cypress": "13.17.0",
"dayjs": "1.11.13",
"dotenv": "16.4.7",
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-cypress": "2.15.2",
"eslint-plugin-ghost": "3.4.0",
"eslint-utils": "3.0.0",
"get-video-id": "4.1.7",
"graceful-fs": "4.2.11",
"graphql-request": "6.1.0",
"husky": "9.1.7",
"i18next": "23.16.8",
"i18next-fs-backend": "2.6.0",
"jest": "29.7.0",
"jest-json-schema-extended": "1.0.1",
"joi": "17.13.3",
"js-yaml": "4.1.0",
"jsdom": "24.1.3",
"libxmljs": "1.0.11",
"lint-staged": "15.2.11",
"lodash": "4.17.21",
"md5": "2.3.0",
"node-cache": "5.1.2",
"node-fetch": "2.7.0",
"npm-run-all2": "7.0.2",
"piscina": "4.8.0",
"prettier": "3.4.2",
"probe-image-size": "7.2.3",
"shx": "0.3.4",
"terser": "5.37.0",
"typescript": "5.7.2"
},
"lint-staged": {
"!(*.ts)": "prettier --write --ignore-unknown",
"*.ts": [
"bash -c 'npm run type-check'",
"prettier --write --ignore-unknown"
]
}
}