-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 2.49 KB
/
Copy pathpackage.json
File metadata and controls
76 lines (76 loc) · 2.49 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
{
"name": "sparxstar-gluon",
"private": true,
"scripts": {
"lint": "npm run lint:js && npm run lint:css",
"lint:js": "eslint src/js/**/*.js",
"lint:css": "stylelint \"src/css/**/*.css\"",
"fix": "npm run fix:js && npm run fix:css",
"fix:js": "eslint src/js/**/*.js --fix",
"fix:css": "stylelint \"src/css/**/*.css\" --fix",
"format": "prettier --write .",
"test": "jest",
"test:e2e": "playwright test",
"build": "npm run build:js && npm run build:css",
"build:js": "node scripts/build-js.js",
"build:css": "node scripts/build-css.js",
"makepot": "wp i18n make-pot . languages/plugin-textdomain.pot",
"prepare": "husky"
},
"lint-staged": {
"*.{js,ts,jsx,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.css": [
"stylelint --fix",
"prettier --write"
],
"src/**/*.php": [
"./vendor/bin/phpcbf -q || true",
"./vendor/bin/phpcs -q",
"./vendor/bin/phpstan analyse --no-progress --memory-limit=512M"
],
"*.{json,md,yml,yaml}": [
"prettier --write"
]
},
"version": "1.0.0",
"description": "A template repository for building WordPress plugins that follow Starisian coding conventions and SPARXSTAR deployment needs.",
"main": "commitlint.config.js",
"directories": {
"doc": "docs",
"example": "examples",
"test": "tests"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Starisian-Technologies/sparxstar-gluon.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"type": "commonjs",
"bugs": {
"url": "https://github.com/Starisian-Technologies/sparxstar-gluon/issues"
},
"homepage": "https://github.com/Starisian-Technologies/sparxstar-gluon#readme",
"devDependencies": {
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.58.2",
"@wordpress/i18n": "^6.16.0",
"clean-css-cli": "^5.6.3",
"eslint": "^10.0.3",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.5",
"globals": "^17.4.0",
"husky": "^9.1.7",
"jest": "^30.3.0",
"lint-staged": "^16.2.7",
"prettier": "^3.8.0",
"puppeteer": "^24.37.5",
"stylelint": "^17.5.0",
"stylelint-config-standard": "^40.0.0",
"terser": "^5.46.1"
}
}