File: /var/www/shoetique/wp-content/plugins/woocommerce-stock-manager/admin/assets/package.json
{
"name": "woocommerce-stock-manager",
"version": "1.0.1",
"description": "Stock Manager for WooCommerce",
"main": "build/index.js",
"private": true,
"scripts": {
"build": "webpack --mode=production",
"start": "webpack --mode=development --watch"
},
"repository": {
"type": "git",
"url": ""
},
"author": "Vladislav Musilek",
"contributors": [
""
],
"license": "GPL",
"sideEffects": false,
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-react"
],
"plugins": [
[
"@wordpress/babel-plugin-makepot",
{
"output": "../../languages/stock-manager.po"
}
]
]
},
"postcss": {
"plugins": {
"postcss-preset-env": {},
"cssnano": {}
}
},
"browserslist": [
"defaults"
],
"eslintConfig": {
"env": {
"browser": true,
"es6": true
},
"extends": [
"airbnb"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly",
"WooCommerceStockManagerPreloadedState": "readonly",
"wp": "readonly"
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"react",
"react-hooks"
],
"rules": {
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"no-shadow": "off",
"no-underscore-dangle": "off",
"label-has-for": "off",
"no-case-declarations": "off",
"jsx-a11y/label-has-for": "off",
"jsx-a11y/label-has-associated-control": "off",
"arrow-parens": [
"error",
"always"
],
"import/prefer-default-export": "off",
"arrow-body-style": "off",
"react/forbid-prop-types": "off",
"react/jsx-one-expression-per-line": "off",
"react/jsx-filename-extension": [
"error",
{
"extensions": [
".js"
]
}
]
}
},
"stylelint": {
"extends": "stylelint-config-standard"
},
"devDependencies": {
"@babel/core": "^7.4.5",
"@babel/preset-env": "^7.4.5",
"@babel/preset-react": "^7.0.0",
"@wordpress/babel-plugin-makepot": "^3.1.0",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.6",
"clean-webpack-plugin": "^3.0.0",
"css-loader": "^2.1.1",
"cssnano": "^4.1.10",
"eslint": "^5.16.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^4.3.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-node": "^9.1.0",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-react": "^7.13.0",
"eslint-plugin-react-hooks": "^1.6.0",
"eslint-plugin-standard": "^4.0.0",
"install": "^0.12.2",
"mini-css-extract-plugin": "^0.7.0",
"node-sass": "^4.12.0",
"npm": "^6.9.0",
"po2json": "^1.0.0-alpha",
"postcss-loader": "^3.0.0",
"postcss-preset-env": "^6.6.0",
"prettier": "^1.17.1",
"sass-loader": "^7.1.0",
"stylelint": "^10.0.1",
"stylelint-config-standard": "^18.3.0",
"webpack": "^4.32.2",
"webpack-cli": "^3.3.2"
},
"dependencies": {
"classnames": "^2.2.6",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-redux": "^7.0.3",
"redux": "^4.0.1",
"redux-devtools-extension": "^2.13.8",
"redux-thunk": "^2.3.0"
}
}