Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
155 lines (155 loc) · 5.45 KB
/
Copy pathpackage.json
File metadata and controls
155 lines (155 loc) · 5.45 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "code-snippets",
"description": "Manage code snippets running on a WordPress-powered site through a graphical interface.",
"homepage": "https://codesnippets.pro",
"version": "4.0.0-beta.3",
"main": "src/dist/edit.js",
"directories": {
"test": "tests"
},
"scripts": {
"prepare": "git config core.hooksPath .githooks || true",
"test:php": "WP_TESTS_DIR=./.wp-tests-lib src/vendor/bin/phpunit -c phpunit.xml",
"test:php:watch": "npm run test:php -- --testdox",
"test:playwright": "playwright test -c config/playwright/playwright.config.ts",
"test:playwright:debug": "npm run test:playwright -- --debug",
"test:playwright:ui": "npm run test:playwright -- --ui",
"prepare-environment:ci": "npm ci",
"test:setup:php": "ts-node scripts/test-setup-phpunit.ts",
"test:setup:playwright": "ts-node scripts/test-setup-playwright.ts",
"build": "webpack",
"watch": "webpack --watch",
"bundle": "ts-node scripts/bundle.ts",
"lint": "npm run lint:styles && npm run lint:js && npm run lint:php",
"lint:fix": "npm run lint:styles:fix && npm run lint:js:fix && npm run lint:php:fix",
"lint:styles": "stylelint 'src/css/**/*.scss'",
"lint:styles:fix": "stylelint --fix 'src/css/**/*.scss'",
"lint:js": "eslint .",
"lint:js:fix": "eslint . --fix",
"lint:php": "src/vendor/bin/phpcs -s --colors --standard=phpcs.xml src/php tests",
"lint:php:fix": "src/vendor/bin/phpcbf --standard=phpcs.xml src/php tests",
"lint:readme": "ts-node scripts/linters/lint-readme.ts",
"lint:changelog": "ts-node scripts/linters/lint-changelog.ts",
"version": "ts-node scripts/version.ts",
"version-dev": "npm version --git-tag-version=false --preid=dev",
"version-alpha": "npm version --git-tag-version=false --preid=alpha",
"version-beta": "npm version --git-tag-version=false --preid=beta",
"version-rc": "npm version --git-tag-version=false --preid=rc"
},
"repository": {
"type": "git",
"url": "git+https://github.com/codesnippetspro/code-snippets.git"
},
"keywords": [
"wordpress-plugin"
],
"author": "Shea Bunge <shea@codesnippets.pro> (https://sheabunge.com)",
"license": "GPL-2.0-or-later",
"bugs": {
"url": "https://github.com/codesnippetspro/code-snippets/issues"
},
"dependencies": {
"@codemirror/fold": "^0.19.4",
"@wordpress/components": "^29.3.0",
"@wordpress/date": "^5.43.0",
"@wordpress/dom-ready": "^4.17.0",
"@wordpress/element": "^6.28.0",
"@wordpress/i18n": "^5.17.0",
"@wordpress/url": "^4.20.0",
"axios": "^1.13.5",
"classnames": "^2.5.1",
"codemirror": "^5.29",
"php-parser": "^3.2.2",
"prismjs": "^1.29.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-select": "^5.10.0",
"uuid": "^11.1.0"
},
"devDependencies": {
"@axe-core/playwright": "^4.11.2",
"@eslint/eslintrc": "^3.3.3",
"@eslint/js": "^9.20.0",
"@playwright/test": "^1.48.0",
"@stylistic/eslint-plugin": "^3.1.0",
"@stylistic/stylelint-plugin": "^3.1.2",
"@tsconfig/node18": "^18.2.4",
"@types/archiver": "^6.0.3",
"@types/codemirror": "^5.60.15",
"@types/jquery": "^3.5.32",
"@types/node": "^22.13.1",
"@types/prismjs": "^1.26.5",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.1",
"@types/tinymce": "^4.6.9",
"@types/web": "^0.0.202",
"@typescript-eslint/eslint-plugin": "^8.24.0",
"@typescript-eslint/parser": "^8.24.0",
"@wordpress/babel-preset-default": "^8.17.0",
"@wordpress/env": "^9.0.0",
"archiver": "^7.0.1",
"autoprefixer": "^10.4.20",
"babel-loader": "^9.2.1",
"babel-plugin-prismjs": "^2.1.0",
"css-loader": "^7.1.2",
"cssnano": "^7.0.6",
"eslint": "^9.20.1",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-svg-jsx": "^1.3.0",
"eslint-webpack-plugin": "^4.2.0",
"glob": "^11.1.0",
"globals": "^15.14.0",
"lint-staged": "^15.5.2",
"mini-css-extract-plugin": "^2.9.2",
"postcss": "^8.5.2",
"postcss-hexrgba": "^2.1.0",
"postcss-load-config": "^6.0.1",
"postcss-loader": "^8.1.1",
"react-is": "^19.0.0",
"sass": "^1.84.0",
"sass-loader": "^16.0.4",
"style-loader": "^4.0.0",
"stylelint": "^16.19.1",
"stylelint-config-standard": "^38.0.0",
"stylelint-config-standard-scss": "^14.0.0",
"stylelint-use-logical": "^2.1.2",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.7.3",
"typescript-eslint": "^8.24.0",
"webpack": "^5.97.1",
"webpack-cli": "^6.0.1",
"webpack-merge": "^6.0.1",
"webpack-remove-empty-scripts": "^1.0.4"
},
"lint-staged": {
"*.{js,ts,jsx,tsx}": "npm run lint:js:fix --",
"*.{css,scss}": "npm run lint:styles:fix --",
"*.php": "npm run lint:php:fix --",
"src/readme.txt": "ts-node scripts/linters/lint-readme.ts",
"CHANGELOG.md": "ts-node scripts/linters/lint-changelog.ts"
},
"overrides": {
"@eslint/eslintrc": {
"ajv": "6.12.6"
},
"eslint": {
"ajv": "6.12.6"
},
"@babel/runtime": "7.28.6",
"js-yaml": "4.1.1",
"lodash": "4.17.23",
"brace-expansion": "1.1.12",
"form-data": "4.0.5",
"tmp": "0.2.5",
"eslint-visitor-keys": "4.2.1",
"@typescript-eslint/visitor-keys": "8.55.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
}
}