Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
138 lines (138 loc) · 4.97 KB
/
Copy pathpackage.json
File metadata and controls
138 lines (138 loc) · 4.97 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
131
132
133
134
135
136
137
138
{
"name": "@stackoverflow/stacks-editor",
"version": "1.1.0",
"description": "",
"repository": {
"type": "git",
"url": "https://github.com/StackExchange/Stacks-Editor.git"
},
"main": "./dist/app.bundle.js",
"module": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"exports": {
".": {
"import": "./dist/src/index.js",
"require": "./dist/app.bundle.js",
"types": "./dist/src/index.d.ts"
},
"./plugins/sample": {
"import": "./dist/plugins/sample/index.js",
"types": "./dist/plugins/sample/index.d.ts"
},
"./plugins/devx": {
"import": "./dist/plugins/devx/index.js",
"types": "./dist/plugins/devx/index.d.ts"
},
"./plugins/official": {
"import": "./dist/plugins/official/index.js",
"types": "./dist/plugins/official/index.d.ts"
},
"./dist/styles.css": "./dist/styles.css"
},
"files": [
"dist/"
],
"scripts": {
"start": "webpack serve --config config/webpack.dev.js",
"build": "webpack --config config/webpack.prod.js",
"build:dev": "webpack --config config/webpack.dev.js",
"build:gh-pages": "webpack --config config/webpack.dev.js --mode=production --",
"build:stats": "webpack --config config/webpack.prod.js --entry ./src/index.ts --profile --json > stats.json",
"lint": "prettier --check . && eslint .",
"format": "prettier --write .",
"test": "npm run test:unit && npm run test:e2e",
"test:unit": "jest --config config/jest-unit.config.js",
"test:e2e": "npx playwright test --config config/playwright.config.ts",
"test:package": "npm run prepublishOnly && node --test scripts/package-artifact.test.mjs",
"test:release-config": "node --test scripts/stable-release-config.test.mjs",
"release": "npm run build && changeset publish",
"version": "changeset version && npm install --package-lock-only",
"prepublishOnly": "npm run build && tsc --module ES6 --sourceMap false",
"prepare": "husky install"
},
"keywords": [],
"author": "Stack Exchange Inc",
"license": "MIT",
"sideEffects": [
"*.css"
],
"commitlint": {
"extends": [
"@stackoverflow"
]
},
"eslintConfig": {
"extends": [
"./config/.eslintrc.js"
]
},
"devDependencies": {
"@commitlint/cli": "^21.2.2",
"@commitlint/config-conventional": "^21.2.2",
"@changesets/changelog-github": "^1.0.0",
"@changesets/cli": "^3.0.3",
"@playwright/test": "^1.63.0",
"@stackoverflow/commitlint-config": "^1.0.0",
"@stackoverflow/prettier-config": "^1.0.0",
"@stackoverflow/stacks": "^3.0.0",
"@stackoverflow/tsconfig": "^1.0.0",
"@types/jest": "^29.5.12",
"@types/markdown-it": "^14.0.0",
"@typescript-eslint/eslint-plugin": "^8.46.2",
"@typescript-eslint/parser": "^8.46.2",
"clean-webpack-plugin": "^4.0.0",
"css-loader": "^7.1.1",
"cssnano": "^9.0.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-jest": "^29.16.6",
"eslint-plugin-no-unsanitized": "^4.0.2",
"highlight.js": "^11.9.0",
"html-loader": "^5.0.0",
"html-webpack-plugin": "^5.6.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"liquidjs-loader": "^1.0.1",
"mini-css-extract-plugin": "^2.8.1",
"mini-svg-data-uri": "^1.4.4",
"postcss": "^8.4.38",
"postcss-loader": "^8.1.1",
"prettier": "^3.2.5",
"prosemirror-test-builder": "^1.1.1",
"semver": "^7.6.3",
"ts-jest": "^29.1.2",
"ts-loader": "^9.5.1",
"typescript": "^5.4.3",
"webpack": "^5.91.0",
"webpack-bundle-analyzer": "^5.4.0",
"webpack-cli": "^7.2.2",
"webpack-dev-server": "^6.0.0",
"webpack-merge": "^6.0.1"
},
"dependencies": {
"@lezer/highlight": "^1.2.0",
"@lezer/markdown": "^1.2.0",
"@stackoverflow/stacks-icons": "^6.9.0",
"markdown-it": "^14.0.0",
"orderedmap": "^2.1.1",
"prosemirror-commands": "^1.5.2",
"prosemirror-highlightjs": "^0.9.1",
"prosemirror-history": "^1.4.0",
"prosemirror-inputrules": "^1.4.0",
"prosemirror-keymap": "^1.2.2",
"prosemirror-lezer": "^0.0.5",
"prosemirror-markdown": "^1.12.0",
"prosemirror-model": "^1.24.1",
"prosemirror-schema-basic": "^1.2.2",
"prosemirror-schema-list": "^1.3.0",
"prosemirror-state": "^1.4.3",
"prosemirror-transform": "^1.8.0",
"prosemirror-utils": "^1.2.1-0",
"prosemirror-view": "^1.37.1"
},
"peerDependencies": {
"@stackoverflow/stacks": "^3.0.0",
"highlight.js": "^11.6.0"
}
}