72 lines
2.5 KiB
JSON
Executable File
72 lines
2.5 KiB
JSON
Executable File
{
|
|
"name": "woo-dash",
|
|
"version": "0.1.0",
|
|
"main": "js/index.js",
|
|
"author": "Automattic",
|
|
"license": "GPL-2.0-or-later",
|
|
"repository": "",
|
|
"engines": {
|
|
"node": "8.11.0",
|
|
"npm": "5.6.0"
|
|
},
|
|
"scripts": {
|
|
"install-if-deps-outdated": "node bin/install-if-deps-outdated.js",
|
|
"install-if-no-packages": "node bin/install-if-no-packages.js",
|
|
"prebuild": "npm run -s install-if-deps-outdated",
|
|
"build": "NODE_ENV=production webpack",
|
|
"prestart": "npm run -s install-if-deps-outdated",
|
|
"start": "webpack --watch",
|
|
"lint": "npm run -s install-if-deps-outdated && eslint client --ext=js,jsx",
|
|
"i18n": "pot-to-php ./languages/woo-dash.pot ./languages/woo-dash.php woo-dash && grunt i18n",
|
|
"precommit": "npm run -s install-if-no-packages && node bin/pre-commit-hook.js",
|
|
"prepush": "npm run -s install-if-no-packages && node bin/pre-push-hook.js",
|
|
"pretest": "npm run -s install-if-no-packages",
|
|
"test:help": "wp-scripts test-unit-js --help",
|
|
"test": "wp-scripts test-unit-js --config tests/js/jest.config.json",
|
|
"test:watch": "npm run test -- --watch"
|
|
},
|
|
"devDependencies": {
|
|
"@wordpress/babel-plugin-makepot": "^1.0.1",
|
|
"@wordpress/babel-preset-default": "^1.2.1",
|
|
"@wordpress/i18n": "^1.1.1",
|
|
"@wordpress/jest-preset-default": "^1.0.6",
|
|
"@wordpress/scripts": "^1.1.5",
|
|
"babel-core": "^6.26.3",
|
|
"babel-eslint": "^8.2.3",
|
|
"babel-loader": "^7.1.4",
|
|
"babel-plugin-transform-async-generator-functions": "^6.24.1",
|
|
"chalk": "^2.4.1",
|
|
"css-loader": "^0.28.11",
|
|
"eslint": "^4.18.2",
|
|
"eslint-config-wpcalypso": "^4.0.0",
|
|
"eslint-loader": "^2.0.0",
|
|
"eslint-plugin-jest": "^21.15.1",
|
|
"eslint-plugin-jsx-a11y": "^6.0.3",
|
|
"eslint-plugin-react": "^7.8.2",
|
|
"eslint-plugin-wpcalypso": "^4.0.1",
|
|
"extract-text-webpack-plugin": "^4.0.0-beta.0",
|
|
"grunt": "^1.0.2",
|
|
"grunt-wp-i18n": "^1.0.2",
|
|
"gutenberg": "github:WordPress/gutenberg#v2.9.0",
|
|
"husky": "^0.14.3",
|
|
"node-sass": "^4.9.0",
|
|
"prettier": "github:automattic/calypso-prettier#c56b4251",
|
|
"prop-types": "^15.6.1",
|
|
"react": "^16.3.2",
|
|
"react-dom": "^16.3.2",
|
|
"react-router-dom": "^4.2.2",
|
|
"readline-sync": "^1.4.9",
|
|
"sass-loader": "^7.0.1",
|
|
"style-loader": "^0.21.0",
|
|
"webpack": "^4.8.3",
|
|
"webpack-cli": "^2.1.3"
|
|
},
|
|
"dependencies": {
|
|
"classnames": "^2.2.5",
|
|
"d3-selection": "^1.3.0",
|
|
"lodash": "^4.17.10",
|
|
"prop-types": "^15.6.1",
|
|
"react-slot-fill": "^2.0.1"
|
|
}
|
|
}
|