-
-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathpackage.json
More file actions
130 lines (130 loc) · 4.27 KB
/
package.json
File metadata and controls
130 lines (130 loc) · 4.27 KB
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
128
129
130
{
"name": "eleventy-news",
"version": "1.0.0",
"description": "Eleventy for https://www.freecodecamp.org/news",
"main": ".eleventy.js",
"engines": {
"node": ">=22",
"pnpm": ">=10"
},
"packageManager": "pnpm@10.30.3",
"type": "module",
"scripts": {
"start": "pnpm run develop",
"start:ci:english": "LOCALE_FOR_UI=english DO_NOT_FETCH_FROM_GHOST=true pnpm run develop:ci",
"start:ci:chinese": "LOCALE_FOR_UI=chinese LOCALE_FOR_GHOST=chinese pnpm run develop:ci",
"start:ci:espanol": "LOCALE_FOR_UI=espanol LOCALE_FOR_GHOST=espanol pnpm 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": "pnpm run --parallel /^clean:/",
"clean:error-logs": "shx rm -f *-errors.log",
"clean:dist": "shx rm -rf dist/",
"cypress": "cypress",
"cypress:run:english": "pnpm run cypress -- run --spec 'cypress/e2e/english/**/*'",
"cypress:run:chinese": "pnpm run cypress -- run --spec 'cypress/e2e/chinese/**/*'",
"cypress:run:espanol": "pnpm run cypress -- run --spec 'cypress/e2e/espanol/**/*'",
"cypress:watch": "pnpm run cypress -- open",
"dev": "pnpm run develop",
"fetch:data": "node scripts/fetch-data.js",
"predevelop": "pnpm run clean && node ./tools/download-trending.js",
"develop": "cross-env ELEVENTY_ENV=dev NODE_OPTIONS=--max-old-space-size=8192 eleventy --serve",
"predevelop:ci": "pnpm run clean && node ./tools/download-trending.js",
"develop:ci": "cross-env ELEVENTY_ENV=ci NODE_OPTIONS=--max-old-space-size=8192 eleventy --serve",
"prebuild": "pnpm run clean",
"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": "pnpm run /^lint:/",
"lint:code": "eslint . --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": "team@freecodecamp.org",
"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": "3.1.2",
"@11ty/eleventy-plugin-rss": "2.0.4",
"@eslint/eslintrc": "3.3.3",
"@eslint/js": "9.39.1",
"@tryghost/content-api": "1.12.2",
"@tryghost/helpers": "1.1.99",
"@types/node": "22.19.3",
"algoliasearch": "5.45.0",
"clean-css": "5.3.3",
"cross-env": "7.0.3",
"cypress": "14.5.4",
"dayjs": "1.11.19",
"dotenv": "17.2.3",
"eslint": "9.39.1",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-cypress": "5.2.0",
"eslint-utils": "3.0.0",
"get-video-id": "4.1.7",
"globals": "16.5.0",
"graceful-fs": "4.2.11",
"graphql-request": "7.3.5",
"husky": "9.1.7",
"i18next": "25.6.3",
"i18next-fs-backend": "2.6.1",
"jest": "30.2.0",
"jest-json-schema-extended": "1.0.1",
"joi": "17.13.3",
"js-yaml": "4.1.1",
"jsdom": "26.1.0",
"libxmljs": "1.0.11",
"lint-staged": "16.2.7",
"lodash": "4.17.23",
"md5": "2.3.0",
"node-cache": "5.1.2",
"node-fetch": "3.3.2",
"node-gyp": "11.5.0",
"piscina": "5.1.4",
"prettier": "3.7.1",
"probe-image-size": "7.2.3",
"shx": "0.4.0",
"terser": "5.44.1",
"turbo": "^2.8.14",
"typescript": "5.9.3"
},
"pnpm": {
"onlyBuiltDependencies": [
"cypress",
"libxmljs",
"unrs-resolver"
]
},
"lint-staged": {
"!(*.ts)": "prettier --write --ignore-unknown",
"*.ts": [
"bash -c 'pnpm run type-check'",
"prettier --write --ignore-unknown"
]
}
}