mirror of
https://github.com/strapi/strapi.git
synced 2025-12-05 03:21:22 +00:00
Fix setup
This commit is contained in:
parent
47f75f601b
commit
a10fc2ee0d
101
packages/strapi-admin/admin/.npmignore
Normal file
101
packages/strapi-admin/admin/.npmignore
Normal 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
|
||||
@ -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,
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user