-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
53 lines (53 loc) · 2.07 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
{
"name": "docspress",
"title": "DocsPress",
"version": "2.5.0",
"description": "Online Documentation",
"license": "GPL-2.0",
"author": "nK <https://nkdev.info>",
"scripts": {
"build": "wpeg --build",
"dev": "wpeg --build --watch",
"production": "npm run make-pot && npm run make-json && wpeg --build --zip",
"php-lint": "composer phpcs",
"php-lint-fix": "composer phpcbf",
"css-lint": "stylelint --syntax scss \"src/**/*.scss\"",
"css-lint-fix": "stylelint --fix --syntax scss \"src/**/*.scss\"",
"js-lint": "eslint --ext .js src/",
"js-lint-fix": "eslint --ext .js --fix src/",
"lint": "npm run php-lint && npm run css-lint && npm run js-lint",
"lint-fix": "npm run php-lint-fix && npm run css-lint-fix && npm run js-lint-fix",
"make-pot": "composer wp -- i18n make-pot ./src ./src/languages/docspress.pot --skip-audit --exclude=vendor,vendors,node_modules --headers='{\"Last-Translator\":\"nK\",\"Report-Msgid-Bugs-To\":\"https://github.com/nk-o/docspress/issues\"}'",
"make-json": "po2json ./src/languages/docspress.pot ./src/languages/docspress.json --format=jed1.x --pretty --domain=@@text_domain",
"update:packages": "npm i -g npm-check-updates && npm-check-updates -u && npm install",
"prepare": "husky install",
"postinstall": "composer install"
},
"devDependencies": {
"@babel/node": "^7.17.10",
"@babel/plugin-proposal-object-rest-spread": "^7.17.3",
"@babel/plugin-transform-react-jsx": "^7.17.3",
"@babel/preset-env": "^7.17.10",
"@babel/register": "^7.17.7",
"@svgr/webpack": "^5.5.0",
"base64-inline-loader": "^2.0.1",
"browserslist-config-nk": "^1.0.0",
"eslint-config-nk": "^1.1.0",
"husky": "^7.0.4",
"json-file": "^0.1.0",
"lint-staged": "^12.4.1",
"md5": "^2.3.0",
"micromatch": "^4.0.4",
"path": "^0.12.7",
"po2json": "^0.4.5",
"prettier-config-nk": "^1.1.0",
"stylelint-config-nk": "^1.1.2",
"wpeg": "1.2.6"
},
"dependencies": {
"anchor-js": "^4.3.1",
"ivent": "^0.2.0",
"sweetalert2": "^11.1.4",
"vue": "^2.6.14"
}
}