mirror of
https://github.com/strapi/strapi.git
synced 2025-09-14 11:08:35 +00:00
Add package.json and fix pre-commit
This commit is contained in:
parent
e36bed4177
commit
9ff9cea534
22
package.json
Normal file
22
package.json
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "strapi-settings-manager",
|
||||
"version": "0.0.0",
|
||||
"description": "Strapi Settings Manager",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/strapi/strapi-admin.git"
|
||||
},
|
||||
"engines": {
|
||||
"npm": ">=3"
|
||||
},
|
||||
"author": "Strapi",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"lint:admin": "cd public && npm run lint:eslint"
|
||||
},
|
||||
"pre-commit": ["lint:admin"],
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"pre-commit": "^1.1.3"
|
||||
}
|
||||
}
|
@ -12,7 +12,6 @@ import { selectPlugins } from 'containers/App/selectors';
|
||||
|
||||
export class PluginPage extends React.Component { // eslint-disable-line react/prefer-stateless-function
|
||||
render() {
|
||||
|
||||
// Init variables
|
||||
let content;
|
||||
|
||||
@ -36,6 +35,10 @@ export class PluginPage extends React.Component { // eslint-disable-line react/p
|
||||
}
|
||||
}
|
||||
|
||||
PluginPage.propTypes = {
|
||||
plugins: React.PropTypes.object,
|
||||
};
|
||||
|
||||
const mapStateToProps = createSelector(
|
||||
selectPlugins(),
|
||||
(plugins) => ({ plugins })
|
||||
|
@ -2,14 +2,11 @@
|
||||
"name": "react-boilerplate",
|
||||
"version": "3.1.0",
|
||||
"description": "A highly scalable, offline-first foundation with the best DX and a focus on performance and best practices",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/mxstbr/react-boilerplate.git"
|
||||
},
|
||||
"private": true,
|
||||
"engines": {
|
||||
"npm": ">=3"
|
||||
},
|
||||
"author": "Max Stoiber",
|
||||
"author": "Strapi",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"analyze:clean": "rimraf stats.json",
|
||||
|
Loading…
x
Reference in New Issue
Block a user