-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
28 lines (28 loc) · 1.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
{
"name": "elementor-media-validator-plugin",
"version": "0.5.1",
"description": "Elementor media validator plugin",
"author": "Thomas Couderc",
"license": "See license in LICENSE",
"keywords": [
"WordPress",
"Elementor",
"plugin"
],
"repository": {
"type": "git",
"url": "git+https://github.com:elzinko/elementor-media-validator-plugin.git"
},
"devDependencies": {
"auto-changelog": "^2.4.0",
"dir-archiver": "^2.1.0"
},
"scripts": {
"changelog": "auto-changelog -p --template keepachangelog auto-changelog --breaking-pattern 'BREAKING CHANGE:'",
"new-tag": "cat package.json | jq -r '.version' | xargs git tag && git push origin --tags",
"tag": "git describe --tags --always",
"prebundle": "mkdir -p dist",
"bundle": "npm run tag | tail -n 1 | xargs -I {} npx dir-archiver --src . --dest ./dist/$npm_package_name-{}.zip --exclude .DS_Store .git .gitattributes .github .gitignore README.md composer.lock node_modules vendor package-lock.json .github devel samples dist",
"clean": "rm -rf dist && rm -rf node_modules"
}
}