-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor package.json for wp-scripts #47
- Loading branch information
1 parent
1bbd679
commit 035a772
Showing
1 changed file
with
31 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,33 @@ | ||
{ | ||
"name": "oik-blocks", | ||
"scripts": { | ||
"dev": "cross-env BABEL_ENV=default webpack --watch", | ||
"build": "cross-env BABEL_ENV=default NODE_ENV=production webpack" | ||
}, | ||
"main": "blocks/index.js", | ||
"devDependencies": { | ||
"babel-core": "^6.26.3", | ||
"babel-eslint": "^8.1.2", | ||
"babel-loader": "^7.1.1", | ||
"babel-plugin-transform-object-rest-spread": "^6.26.0", | ||
"babel-plugin-transform-react-jsx": "^6.24.1", | ||
"babel-plugin-transform-runtime": "^6.23.0", | ||
"babel-preset-env": "^1.7.0", | ||
"browser-sync": "^2.26.12", | ||
"browser-sync-webpack-plugin": "^1.2.0", | ||
"classnames": "^2.2.5", | ||
"cross-env": "^5.2.1", | ||
"css-loader": "^0.28.7", | ||
"eslint": "^4.14.0", | ||
"eslint-config-prettier": "^2.9.0", | ||
"eslint-config-wordpress": "^2.0.0", | ||
"eslint-plugin-prettier": "^2.4.0", | ||
"extract-text-webpack-plugin": "^3.0.2", | ||
"node-sass": "^4.14.1", | ||
"postcss-loader": "^2.0.9", | ||
"raw-loader": "^0.5.1", | ||
"sass-loader": "^6.0.6", | ||
"style-loader": "^0.19.1", | ||
"webpack": "^3.10.0" | ||
}, | ||
"version": "0.0.0", | ||
"license": "MIT", | ||
"dependencies": { | ||
"@wordpress/icons": "^2.6.0", | ||
"babel-plugin-lodash": "^3.3.4" | ||
} | ||
"name": "oik-blocks", | ||
"version": "1.0.0", | ||
"description": "More blocks and lazy smart shortcodes for the WordPress block editor.", | ||
"author": "bobbingwide", | ||
"license": "GPL-2.0-or-later", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/bobbingwide/oik-blocks.git" | ||
}, | ||
"main": "build/index.js", | ||
"scripts": { | ||
"build": "wp-scripts build", | ||
"format": "wp-scripts format", | ||
"lint:css": "wp-scripts lint-style", | ||
"lint:js": "wp-scripts lint-js", | ||
"start": "wp-scripts start", | ||
"packages-update": "wp-scripts packages-update", | ||
"dev": "wp-scripts start", | ||
"makepot": "wp i18n make-pot . languages/oik-blocks.pot --exclude=node_modules,vendor,src", | ||
"makejson": "wp i18n make-json languages --no-purge", | ||
"l10n": "l10n oik-blocks" | ||
}, | ||
"dependencies": { | ||
"@wordpress/block-editor": "^5.3.3", | ||
"@wordpress/blocks": "^8.0.3", | ||
"@wordpress/i18n": "^3.20.0", | ||
"postcss": "^8.3.6" | ||
}, | ||
"devDependencies": { | ||
"@wordpress/scripts": "^15.0.1" | ||
} | ||
} |