Fix setup

This commit is contained in:
Aurelsicoko 2017-11-20 17:04:48 +01:00
parent 47f75f601b
commit a10fc2ee0d
5 changed files with 106 additions and 5 deletions

View File

@ -0,0 +1,101 @@
############################
# OS X
############################
.DS_Store
.AppleDouble
.LSOverride
Icon
.Spotlight-V100
.Trashes
._*
############################
# Linux
############################
*~
############################
# Windows
############################
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
*.cab
*.msi
*.msm
*.msp
############################
# Packages
############################
*.7z
*.csv
*.dat
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
*.com
*.class
*.dll
*.exe
*.o
*.seed
*.so
*.swo
*.swp
*.swn
*.swm
*.out
*.pid
############################
# Logs and databases
############################
*.log
*.sql
############################
# Misc.
############################
*#
ssl
.idea
nbproject
############################
# Node.js
############################
lib-cov
lcov.info
pids
logs
results
node_modules
.node_history
############################
# Tests
############################
test
testApp
coverage

View File

@ -98,7 +98,7 @@ module.exports = require('./webpack.base.babel')({
// Tell babel that we want presets and to hot-reload
babelPresets: [
[
require.resolve('babel-preset-latest'),
require.resolve('babel-preset-env'),
{
es2015: {
modules: false,

View File

@ -142,7 +142,7 @@ module.exports = require('./webpack.base.babel')({
// Babel presets configuration
babelPresets: [
[
require.resolve('babel-preset-latest'),
require.resolve('babel-preset-env'),
{
es2015: {
modules: false,

View File

@ -39,7 +39,7 @@
"babel-plugin-transform-react-inline-elements": "^6.22.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.8",
"babel-polyfill": "^6.26.0",
"babel-preset-latest": "^6.24.1",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"babel-preset-react-hmre": "^1.1.1",
"babel-preset-stage-0": "^6.24.1",
@ -77,7 +77,7 @@
"node-sass": "^4.5.3",
"null-loader": "^0.1.1",
"plop": "^1.8.0",
"postcss-cssnext": "^3.0.2",
"postcss-cssnext": "^2.11.0",
"postcss-focus": "^2.0.0",
"postcss-loader": "^2.0.6",
"postcss-reporter": "^5.0.0",

View File

@ -22,8 +22,8 @@ shell.cd('../strapi-helper-plugin');
shell.exec('npm link');
shell.cd('../strapi-admin');
shell.exec('npm install ../strapi-utils');
shell.exec('npm install ../strapi-helper-plugin');
shell.exec('npm install ../strapi-utils');
shell.rm('-f', 'package-lock.json');
shell.exec('npm link');
shell.exec('npm run build');