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
@ -37,7 +37,7 @@ module.exports = {
|
|||||||
parsedHTML('body').append(pluginVendorScript);
|
parsedHTML('body').append(pluginVendorScript);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// Finally, send the HTML file with injected scripts
|
// Finally, send the HTML file with injected scripts
|
||||||
this.body = parsedHTML.html();
|
this.body = parsedHTML.html();
|
||||||
},
|
},
|
||||||
|
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
|
export class PluginPage extends React.Component { // eslint-disable-line react/prefer-stateless-function
|
||||||
render() {
|
render() {
|
||||||
|
|
||||||
// Init variables
|
// Init variables
|
||||||
let content;
|
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(
|
const mapStateToProps = createSelector(
|
||||||
selectPlugins(),
|
selectPlugins(),
|
||||||
(plugins) => ({ plugins })
|
(plugins) => ({ plugins })
|
||||||
|
@ -2,14 +2,11 @@
|
|||||||
"name": "react-boilerplate",
|
"name": "react-boilerplate",
|
||||||
"version": "3.1.0",
|
"version": "3.1.0",
|
||||||
"description": "A highly scalable, offline-first foundation with the best DX and a focus on performance and best practices",
|
"description": "A highly scalable, offline-first foundation with the best DX and a focus on performance and best practices",
|
||||||
"repository": {
|
"private": true,
|
||||||
"type": "git",
|
|
||||||
"url": "git://github.com/mxstbr/react-boilerplate.git"
|
|
||||||
},
|
|
||||||
"engines": {
|
"engines": {
|
||||||
"npm": ">=3"
|
"npm": ">=3"
|
||||||
},
|
},
|
||||||
"author": "Max Stoiber",
|
"author": "Strapi",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"analyze:clean": "rimraf stats.json",
|
"analyze:clean": "rimraf stats.json",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user