Skip to content
Snippets Groups Projects
Commit 34c0f07a authored by chris's avatar chris
Browse files

modify create.sh

parent eb5a2663
No related branches found
No related tags found
1 merge request!8Develop
......@@ -19,6 +19,8 @@ rm -rf src/App.test.js
rm -rf src/logo.svg
sed -i "s/default/$1/" package.json
cd ../../
yarn reset
wait
sed -i '/"build": "lerna run build --concurrency=1 --stream",/a "'$1'": "cd editors/'$1' && yarn start",' package.json
yarn $1
fi
......@@ -3,8 +3,7 @@
"version": "0.0.1",
"main": "index.js",
"author": "Collaborative Knowledge Foundation",
"description":
"Monorepo for wax-prosemirror, its components and its integrations",
"description": "Monorepo for wax-prosemirror, its components and its integrations",
"repository": {
"type": "git",
"url": "git@gitlab.coko.foundation:wax/wax-prosemirror.git"
......@@ -13,14 +12,12 @@
"private": true,
"scripts": {
"bootstrap": "lerna bootstrap --no-ci --hoist",
"clean":
"yarn run clean:artifacts && yarn run clean:packages && yarn run clean:root",
"clean": "yarn run clean:artifacts && yarn run clean:packages && yarn run clean:root",
"clean:artifacts": "lerna run clean --parallel",
"clean:packages": "lerna clean --yes",
"clean:root": "rm -rf node_modules",
"reset": "yarn clean && yarn",
"build": "lerna run build --concurrency=1 --stream",
"aleksis": "cd editors/aleksis && yarn start",
"default": "cd editors/default && yarn start"
},
"dependencies": {},
......@@ -30,6 +27,7 @@
"@babel/preset-react": "^7.0.0",
"css-loader": "^0.28.11",
"lerna": "^2.6.0",
"react-app-rewired": "^2.1.2",
"style-loader": "^0.23.1",
"stylelint": "^8.2.0",
"svg-inline-loader": "^0.8.0"
......@@ -41,7 +39,7 @@
"wax-prosemirror-themes",
"wax-prosemirror-utilities",
"wax-prosemirror-layouts",
"wax-prosemirror-plugins",
"wax-prosemirror-plugins",
"editors/*"
]
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment