~royston/codsen.com

codsen.com/package.json -rw-r--r-- 4.7 KiB
86865e46Roy Revelt escape the examples code a month ago
                                                                                
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
{
  "name": "codsen",
  "version": "1.0.0",
  "description": "Codsen website",
  "author": "Roy Revelt",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/codsen/codsen"
  },
  "scripts": {
    "----------- DEV -----------": "",
    "start": "npm run dev",
    "dev": "npm run watch",
    "watch": "cross-env ELEVENTY_ENV=dev run-s clean:* build:assets && cross-env ELEVENTY_ENV=dev run-p serve watch:*",
    "watch:assets": "parcel watch ./src/assets/css/app.pcss ./src/assets/js/app.js --dist-dir ./bundle --no-source-maps --no-hmr",
    "serve": "date +%s > hash.txt && eleventy --serve --port=8080",
    "----------- PROD -----------": "",
    "build": "npm run build:eleventy && npm run search && npm run build:eleventy && npm run replace && npm run test:links",
    "build:html": "date +%s > hash.txt && eleventy && node utils/scripts/fixDistWorkerHash.js",
    "build:assets": "parcel build ./src/assets/css/app.pcss ./src/assets/js/app.js ./src/assets/js/interdeps.js ./src/assets/js/search-worker.js --dist-dir ./bundle --no-source-maps",
    "build:eleventy": "cross-env ELEVENTY_ENV=prod run-s clean:* build:assets build:html",
    "----------- SEED -----------": "",
    "seed": "cross-env ELEVENTY_ENV=seed run-s clean:* build:assets build:html && npm run search && run-p test:*",
    "----------- CLEAN -----------": "",
    "clean": "run-s clean:*",
    "clean:cache": "rimraf ./.cache",
    "clean:bundle": "rimraf ./bundle",
    "clean:dist": "rimraf ./dist",
    "----------- TEST -----------": "",
    "test": "npm run build:eleventy && run-p test:*",
    "test:filters": "jest",
    "test:links": "linkinator ./dist --recurse --silent --skip 'https://en.wikipedia.org|https://github.com/|https://www.npmjs.com/|https://gitlab.com/codsen/codsen/issues/'",
    "test:vercel": "node utils/scripts/validateVercelJson.js",
    "js:watch": "jest --watch",
    "----------- ETC -----------": "",
    "hash": "delay 1 && node utils/scripts/fixDistWorkerHash.js",
    "replace": "replace 'http://localhost:8080/' 'https://codsen.com/' . -r --include='dist/assets/**/*'",
    "search": "node utils/scripts/fixSearchWorkerRoot.js"
  },
  "dependencies": {
    "@11ty/eleventy": "^0.11.1",
    "@11ty/eleventy-plugin-inclusive-language": "^1.0.0",
    "@11ty/eleventy-plugin-rss": "^1.0.9",
    "@11ty/eleventy-plugin-syntaxhighlight": "^3.0.4",
    "@babel/core": "^7.12.9",
    "@babel/preset-env": "^7.12.7",
    "@octokit/core": "^3.2.1",
    "@quasibit/eleventy-plugin-sitemap": "^2.0.3",
    "@tbranyen/jsdom": "^13.0.0",
    "array-shuffle": "^1.0.1",
    "axios": "^0.21.0",
    "countup.js": "^2.0.7",
    "cssnano": "^4.1.10",
    "cssnano-preset-advanced": "^4.0.7",
    "eleventy-plugin-markdown-shortcode": "^1.1.0",
    "fuse.js": "^6.4.3",
    "gray-matter": "^4.0.2",
    "html-minifier": "^4.0.0",
    "lodash.camelcase": "^4.3.0",
    "lodash.clonedeep": "^4.5.0",
    "markdown-escape": "^1.1.0",
    "markdown-it": "^12.0.2",
    "markdown-it-anchor": "^6.0.1",
    "markdown-it-container": "^3.0.0",
    "markdown-it-fence": "^0.1.3",
    "markdown-it-implicit-figures": "^0.10.0",
    "markdown-it-kbd": "^2.2.0",
    "matcher": "^3.0.0",
    "number-to-words": "^1.2.4",
    "p-map": "^4.0.0",
    "pacote": "^11.1.13",
    "parcel": "^2.0.0-nightly.462",
    "parse-github-url": "^1.0.2",
    "postcss": "^8.1.10",
    "postcss-color-mix": "^1.1.0",
    "postcss-comment": "^2.0.0",
    "postcss-import": "^13.0.0",
    "postcss-mixins": "^7.0.1",
    "postcss-preset-env": "^6.7.0",
    "postcss-simple-vars": "^6.0.1",
    "precss": "^4.0.0",
    "ranges-apply": "^4.0.1",
    "ranges-invert": "^3.0.1",
    "ranges-regex": "^3.0.1",
    "replace": "^1.2.0",
    "slugify": "^1.4.6",
    "string-strip-html": "^7.0.1",
    "string-unfancy": "^3.10.0",
    "title": "^3.4.2",
    "uslug": "^1.0.4",
    "what-input": "^5.2.10",
    "write-file-atomic": "^3.0.3"
  },
  "devDependencies": {
    "cross-env": "^7.0.2",
    "delay-cli": "^1.1.0",
    "eslint": "^7.14.0",
    "eslint-config-airbnb": "^18.2.1",
    "eslint-config-airbnb-base": "^14.2.1",
    "eslint-config-prettier": "^6.15.0",
    "eslint-plugin-import": "^2.22.1",
    "eslint-plugin-no-unsanitized": "^3.1.4",
    "eslint-plugin-prettier": "^3.1.4",
    "eslint-plugin-row-num": "^1.3.1",
    "jest": "^26.6.3",
    "linkinator": "^2.3.0",
    "luxon": "^1.25.0",
    "npm-run-all": "^4.1.5",
    "postcss-advanced-variables": "^3.0.1",
    "postcss-cli": "^8.3.0",
    "postcss-easy-import": "^3.0.0",
    "prettier": "^2.2.1",
    "rimraf": "^3.0.2",
    "sass": "^1.29.0"
  },
  "browserslist": [
    "last 1 Chrome versions",
    "last 1 Firefox versions",
    "last 1 Safari versions",
    "last 1 Edge versions"
  ]
}