summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-plugin-theme-default
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2016-09-20 19:19:01 +0200
committerSamy Pesse <samypesse@gmail.com>2016-09-20 19:19:01 +0200
commitced0be930dd86bc204cab5b4e3a1cd83aed68ccf (patch)
treeede7dcb971554be669e9b4e9db42899c52fed20f /packages/gitbook-plugin-theme-default
parent6d58a90613802b1e65cbf8c027093a1868119781 (diff)
downloadgitbook-ced0be930dd86bc204cab5b4e3a1cd83aed68ccf.zip
gitbook-ced0be930dd86bc204cab5b4e3a1cd83aed68ccf.tar.gz
gitbook-ced0be930dd86bc204cab5b4e3a1cd83aed68ccf.tar.bz2
Working loading of plugin
Diffstat (limited to 'packages/gitbook-plugin-theme-default')
-rw-r--r--packages/gitbook-plugin-theme-default/package.json13
1 files changed, 11 insertions, 2 deletions
diff --git a/packages/gitbook-plugin-theme-default/package.json b/packages/gitbook-plugin-theme-default/package.json
index 5ee288b..42ff1b6 100644
--- a/packages/gitbook-plugin-theme-default/package.json
+++ b/packages/gitbook-plugin-theme-default/package.json
@@ -2,12 +2,21 @@
"name": "gitbook-plugin-theme-default",
"description": "Default theme for GitBook",
"main": "./index.js",
- "browser": "./src/index.js",
+ "browser": "./assets/theme.js",
"version": "1.0.5",
"engines": {
"gitbook": ">=3.0.0"
},
- "dependencies": {},
+ "dependencies": {
+ "gitbook-core": "^0.0.0",
+ "react": "^15.3.1"
+ },
+ "devDependencies": {
+ "gitbook-plugin": "*"
+ },
+ "scripts": {
+ "prepublish": "gitbook-plugin build ./src/index.js ./assets/theme.js"
+ },
"repository": {
"type": "git",
"url": "https://github.com/GitbookIO/gitbook.git"