-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
68 lines (68 loc) · 2.78 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"name": "blockify-theme",
"description": "Blockify theme.",
"author": "Blockify",
"license": "GPL-2.0-or-later",
"main": "src/index.tsx",
"exports": {
"./components": "./src/components",
"./utility": "./src/utility"
},
"scripts": {
"css": "npm run build:css",
"js": "npm run build:js",
"pot": "npm run build:pot",
"build": "npm run js && npm run css && npm run pot",
"build:js": "wp-scripts build --output-path=assets/js",
"build:css": "rm -Rf assets/css && node-sass --output-style compressed --recursive -o assets/css src/scss && rm -Rf assets/css/abstracts && find src/scss -type f -name '*.css' -exec rm {} +",
"build:pot": "wp i18n make-pot ./ languages/blockify.pot --exclude='wp,wp-content,vendor,tests,node_modules,build,src,assets/css,assets/fonts,assets/img,assets/svg'",
"start": "npm run start:css && npm run start:js",
"start:js": "wp-scripts start --output-path=assets/js",
"start:css": "node-sass --output-style compressed --recursive -wo assets/css src/scss",
"lint": "npm run lint:css && npm run lint:js",
"lint:css": "wp-scripts lint-style 'src/scss'",
"lint:js": "wp-scripts lint-js 'src/**/*.tsx'",
"fix:css": "wp-scripts lint-style 'src/scss' --fix",
"fix:js": "wp-scripts lint-js 'src/**/*.tsx' --fix",
"test": "jest --verbose ./tests/js/*.js",
"zip": "rm -Rf ../../blockify.zip && zip -r ../../blockify.zip assets/ includes/ languages/ parts/ patterns/ styles/ templates/ functions.php index.php readme.txt screenshot.png style.css theme.json"
},
"devDependencies": {
"@babel/preset-typescript": "^7.18.6",
"@types/redux": "^3.6.31",
"@types/wordpress__block-editor": "^11.0.1",
"@types/wordpress__components": "^23.0.1",
"@typescript-eslint/eslint-plugin": "^5.52.0",
"@typescript-eslint/parser": "^5.52.0",
"@wordpress/api-fetch": "^6.23.0",
"@wordpress/block-editor": "^11.3.0",
"@wordpress/blocks": "^12.3.0",
"@wordpress/components": "^25.11.0",
"@wordpress/compose": "^6.3.0",
"@wordpress/data": "^8.3.0",
"@wordpress/dom-ready": "^3.26.0",
"@wordpress/element": "^5.3.0",
"@wordpress/eslint-plugin": "^13.10.0",
"@wordpress/hooks": "^3.26.0",
"@wordpress/i18n": "^4.26.0",
"@wordpress/icons": "^9.17.0",
"@wordpress/primitives": "^3.24.0",
"@wordpress/scripts": "^25.3.0",
"browser-sync-webpack-plugin": "^2.3.0",
"draggabilly": "^3.0.0",
"eslint": "^8.34.0",
"html-react-parser": "^3.0.9",
"jest": "^29.4.2",
"node-sass": "^8.0.0",
"packery": "^2.1.2",
"prettier": "^2.8.4",
"prism-themes": "^1.9.0",
"prismjs": "^1.29.0",
"react": "^18.2.0",
"react-select": "^5.8.0",
"react-simple-code-editor": "^0.13.1",
"redux": "^4.2.1",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
}
}