Skip to content

Commit 543ab52

Browse files
committed
JSON Editor initial commit
1 parent 60b8be9 commit 543ab52

33 files changed

+53106
-1
lines changed

.gitignore

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
node_modules/
5+
/api/node_modules
6+
/ui/node_modules
7+
/ui/.npmrc
8+
/ui/coverage
9+
10+
# production
11+
/api/build
12+
/ui/build
13+
/to-deploy
14+
15+
# misc
16+
.DS_Store
17+
/api/.DS_Store
18+
/ui/.DS_Store
19+
/**/**/npm-debug.log*
20+
/**/**/yarn-debug.log*
21+
/**/**/yarn-error.log*
22+
23+
.vercel
24+
25+
.vscode
26+
.eslintcache

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
# marketplace-jsoneditor-app
1+
# Marketplace JSON Editor App
2+
3+
This is a replacement for marketplace UI extension's JSON Editor.

build.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
set -e
2+
#The above command is to fail build if any one of the below build steps fail
3+
4+
rm -rf to-deploy
5+
mkdir to-deploy
6+
7+
#UI Build
8+
cd ui
9+
rm -rf build
10+
rm -rf coverage
11+
npm install
12+
npm run test
13+
npm run build
14+
zip -r ui.zip build/
15+
mv ui.zip ../to-deploy
16+
cd ..

0 commit comments

Comments
 (0)