This commit is contained in:
erwanlr
2020-09-19 10:39:54 +02:00
parent 2fb36dc425
commit 9c36293382
17 changed files with 1704 additions and 13 deletions

View File

@@ -0,0 +1,54 @@
{
"name": "@hamworks/rich-text-extension",
"version": "0.0.5",
"author": "Hiroshi Urabe <urabe@ham.works> (https://ham.works)",
"dependencies": {
"@wordpress/block-editor": "^4.4.0",
"@wordpress/icons": "^2.5.0",
"@wordpress/rich-text": "^3.21.0",
"lodash": "^4.17.20",
"tinycolor2": "^1.4.1"
},
"devDependencies": {
"@wordpress/browserslist-config": "2.7.0",
"@wordpress/scripts": "^12.1.1",
"prettier": "npm:wp-prettier@^2.0.4"
},
"license": "GPL-2.0+",
"main": "build/index.js",
"release-it": {
"hooks": {
"before:bump": "bash ./bin/create-release.sh rich-text-extension ${version}",
"after:bump": "bash ./bin/create-zip.sh rich-text-extension",
"after:release": "bash ./bin/cleanup.sh rich-text-extension"
},
"github": {
"release": true,
"assets": [
"rich-text-extension.zip"
]
},
"npm": {
"publish": false
}
},
"repository": {
"url": "git@github.com:team-hamworks/rich-text-extension.git",
"type": "git"
},
"scripts": {
"build": "NODE_ENV=production npm run build:dev",
"build:dev": "wp-scripts build",
"format-js": "wp-scripts format-js",
"env": "wp-scripts env",
"lint-js": "wp-scripts lint-js src",
"lint-js:fix": "npm run lint-js -- --fix",
"packages-update": "wp-scripts packages-update",
"start": "wp-scripts start"
},
"wp-env": {
"plugin-dir": "rich-text-extension",
"plugin-name": "rich-text-extension",
"welcome-build-command": "npm run start"
}
}