Skip to content

Commit e9da862

Browse files
committed
deleted docs folder
1 parent 9fd1d9d commit e9da862

File tree

7 files changed

+19
-24
lines changed

7 files changed

+19
-24
lines changed

docs/ads.txt

-1
This file was deleted.

docs/favicon.ico

-24.3 KB
Binary file not shown.

docs/images/sample/earth.gif

-978 KB
Binary file not shown.

docs/images/sample/transparentBg.png

-1.73 KB
Binary file not shown.

docs/manifest.json

-15
This file was deleted.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"build:lib": "npm run tsc && webpack -p --config webpack.lib.js",
1515
"start": "npm install && npm run start:dev",
1616
"start:dev": "webpack-dev-server --config webpack.dev.js --inline",
17+
"ghpages": "npm run build && node scripts/ghpages",
1718
"deploy": "npm run build:lib && npm publish",
1819
"lint": "npm run tsc",
1920
"clean": "node scripts/clean",

scripts/ghpages.js

+18-8
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
1-
const ghpages = required('gh-pages');
1+
const ghpages = require('gh-pages');
22

3-
ghpages.publish('docs', {
4-
repo: 'https://github.com/salgum1114/react-design-editor.git',
5-
message: 'auto commit',
6-
user: {
7-
name: 'salgum1114',
8-
3+
ghpages.publish(
4+
'docs',
5+
{
6+
repo: 'https://github.com/salgum1114/react-design-editor.git',
7+
message: 'published https://salgum1114.github.io/react-design-editor',
8+
user: {
9+
name: 'salgum1114',
10+
11+
},
912
},
10-
});
13+
function(err) {
14+
if (err) {
15+
console.error(err);
16+
} else {
17+
console.log('published https://salgum1114.github.io/react-design-editor');
18+
}
19+
},
20+
);

0 commit comments

Comments
 (0)