-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
77 lines (77 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
74
75
76
77
{
"private": true,
"name": "Textualize.io",
"engines": {
"node": "16.x"
},
"scripts": {
"dev": "next dev",
"build": "next build",
"build:prod": "npm run build:textualize-cache:display && npm run scripts:transpile && npm run scripts:generate-data-code-for-galleries && next build && npm run build:textualize-cache:display",
"build:textualize-cache:display": "mkdir -p .next/cache/ && cat .next/cache/textualize-cache.*.json || true",
"build:textualize-cache:clear": "rm -f .next/cache/textualize-cache.*.json || true",
"start": "next start",
"prepare": "husky install",
"cypress:open": "cypress open",
"pre-commit": "lint-staged",
"lint": "next lint",
"types:check": "tsc --noEmit",
"format:check": "prettier --check .",
"format:fix": "prettier --write .",
"ci:check": "npm run lint && npm run format:check && npm run types:check",
"scripts:transpile": "rm -rf scripts-output/ && tsc -p ./tsconfig.scripts.json && echo '{\"type\": \"module\"}' > scripts-output/package.json ",
"scripts:check-gallery-images-dimensions": "node --es-module-specifier-resolution=node scripts-output/src/scripts/check-gallery-images-dimensions.js",
"scripts:generate-data-code-for-galleries": "node --es-module-specifier-resolution=node scripts-output/src/scripts/generate-data-code-for-galleries.js"
},
"dependencies": {
"@mdx-js/loader": "^2.1.1",
"@next/mdx": "^12.1.5",
"@types/ellipsize": "^0.1.1",
"ellipsize": "^0.5.1",
"fast-glob": "^3.2.11",
"fast-sort": "^3.2.0",
"fathom-client": "^3.4.1",
"framer-motion": "^6.2.8",
"fscreen": "^1.2.0",
"gray-matter": "^4.0.3",
"humanize-plus": "^1.8.2",
"image-size": "^1.0.1",
"markdown-it": "^12.3.2",
"next": "^12.1.6",
"p-throttle": "^5.0.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-icons": "^4.3.1",
"react-intersection-observer": "^8.34.0",
"reading-time": "^1.5.0",
"striptags": "^3.2.0"
},
"devDependencies": {
"@actions/core": "^1.8.2",
"@trivago/prettier-plugin-sort-imports": "^3.2.0",
"@types/fscreen": "^1.0.1",
"@types/humanize-plus": "^1.8.0",
"@types/markdown-it": "^12.2.3",
"@types/node": "^17.0.23",
"@types/react": "^17.0.43",
"cypress": "^9.5.4",
"eslint": "8.13.0",
"eslint-config-next": "12.1.4",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-unused-imports": "^2.0.0",
"husky": "^7.0.4",
"lint-staged": "^12.3.8",
"prettier": "^2.6.2",
"sass": "^1.49.9",
"typescript": "^4.6.3"
},
"lint-staged": {
"*.{js,ts,jsx,tsx}": [
"prettier --write",
"eslint"
],
"*.{json,mdx,yml}": [
"prettier --write"
]
}
}