forked from freeCodeCamp/news
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 3.45 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
{
"name": "eleventy-news",
"version": "1.0.0",
"description": "Eleventy for https://www.freecodecamp.org/news",
"main": ".eleventy.js",
"engines": {
"node": ">=16",
"npm": ">=8"
},
"scripts": {
"start": "npm run develop",
"start:ci:english": "LOCALE_FOR_UI=english LOCALE_FOR_GHOST=english 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-config/ghost/docker-compose.yml' up -d",
"stop:containers": "docker compose -f './docker-config/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/integration/english/**/*'",
"cypress:run:chinese": "npm run cypress -- run --spec 'cypress/integration/chinese/**/*'",
"cypress:run:espanol": "npm run cypress -- run --spec 'cypress/integration/espanol/**/*'",
"cypress:watch": "npm run cypress -- open",
"dev": "npm run develop",
"predevelop": "npm run clean",
"develop": "cross-env ELEVENTY_ENV=dev NODE_OPTIONS=--max-old-space-size=8192 eleventy --serve",
"predevelop:ci": "npm run clean",
"develop:ci": "cross-env ELEVENTY_ENV=ci NODE_OPTIONS=--max-old-space-size=8192 eleventy --serve",
"prebuild": "npm run clean",
"build": "cross-env ELEVENTY_ENV=prod NODE_OPTIONS=--max-old-space-size=8192 eleventy",
"test": "jest",
"lint": "npm-run-all lint:*",
"lint:code": "eslint . --ext .js --cache",
"lint:i18n-schema": "node ./i18n/schema-validation.js",
"lint:pretty": "prettier --check .",
"format": "prettier --write .",
"prepare": "husky install"
},
"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": "1.0.1",
"@11ty/eleventy-plugin-rss": "1.1.2",
"@11ty/eleventy-upgrade-help": "1.0.1",
"@tryghost/content-api": "1.9.1",
"@tryghost/helpers": "1.1.64",
"clean-css": "5.3.0",
"cross-env": "7.0.3",
"cypress": "9.5.4",
"dayjs": "1.11.1",
"dotenv": "16.0.0",
"eslint": "8.14.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-cypress": "2.12.1",
"eslint-plugin-ghost": "2.13.0",
"eslint-utils": "3.0.0",
"graceful-fs": "4.2.10",
"husky": "7.0.4",
"i18next": "21.6.16",
"i18next-fs-backend": "1.1.4",
"jest": "27.5.1",
"jest-json-schema-extended": "1.0.1",
"js-yaml": "4.1.0",
"jsdom": "19.0.0",
"lint-staged": "12.4.0",
"lodash": "4.17.21",
"md5": "2.3.0",
"node-fetch": "2.6.7",
"npm-run-all": "4.1.5",
"prettier": "2.6.2",
"probe-image-size": "7.2.3",
"sanitize-html": "2.7.0",
"shx": "0.3.4",
"terser": "5.12.1",
"xml2js": "0.4.23"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
}
}