diff options
author | Samy Pesse <samypesse@gmail.com> | 2016-04-30 22:06:16 +0200 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2016-04-30 22:06:16 +0200 |
commit | c1d53ec11fbe085932df911bda5686b7bf671f53 (patch) | |
tree | 97ae6db641eb79ec9b061af136a0b2e3c549db55 /test/node_modules | |
parent | 36b49c66c6b75515bc84dd678fd52121a313e8d2 (diff) | |
download | gitbook-c1d53ec11fbe085932df911bda5686b7bf671f53.zip gitbook-c1d53ec11fbe085932df911bda5686b7bf671f53.tar.gz gitbook-c1d53ec11fbe085932df911bda5686b7bf671f53.tar.bz2 |
Switch parsers to a model
Diffstat (limited to 'test/node_modules')
14 files changed, 0 insertions, 154 deletions
diff --git a/test/node_modules/gitbook-plugin-dep1/package.json b/test/node_modules/gitbook-plugin-dep1/package.json deleted file mode 100644 index 908ca02..0000000 --- a/test/node_modules/gitbook-plugin-dep1/package.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "name": "gitbook-plugin-dep1", - "version": "1.0.0", - "engines": { - "gitbook": "*" - }, - "dependencies": { - "gitbook-plugin-dep2": "*" - } -}
\ No newline at end of file diff --git a/test/node_modules/gitbook-plugin-dep2/package.json b/test/node_modules/gitbook-plugin-dep2/package.json deleted file mode 100644 index 2046f5d..0000000 --- a/test/node_modules/gitbook-plugin-dep2/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "gitbook-plugin-dep2", - "version": "1.0.0", - "engines": { - "gitbook": "*" - } -}
\ No newline at end of file diff --git a/test/node_modules/gitbook-plugin-test-blocks/index.js b/test/node_modules/gitbook-plugin-test-blocks/index.js deleted file mode 100644 index 7104006..0000000 --- a/test/node_modules/gitbook-plugin-test-blocks/index.js +++ /dev/null @@ -1,21 +0,0 @@ -var should = require('should'); - -module.exports = { - blocks: { - // Simple test - hello: function(blk) { - return 'Hello ' + blk.body + '!'; - }, - - // Test using the conetxt "this" - testContext: function(s) { - this.should.have.property('config'); - this.should.have.property('log'); - this.should.have.property('options'); - this.should.have.property('resolve').which.is.a.function; - this.should.have.property('book').which.equal(this); - - return 'Hello ' + s + '!'; - } - } -}; diff --git a/test/node_modules/gitbook-plugin-test-blocks/package.json b/test/node_modules/gitbook-plugin-test-blocks/package.json deleted file mode 100644 index a756fb5..0000000 --- a/test/node_modules/gitbook-plugin-test-blocks/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "gitbook-plugin-test-blocks", - "version": "1.0.0", - "engines": { - "gitbook": "*" - } -}
\ No newline at end of file diff --git a/test/node_modules/gitbook-plugin-test-config/index.js b/test/node_modules/gitbook-plugin-test-config/index.js deleted file mode 100644 index f053ebf..0000000 --- a/test/node_modules/gitbook-plugin-test-config/index.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = {}; diff --git a/test/node_modules/gitbook-plugin-test-config/package.json b/test/node_modules/gitbook-plugin-test-config/package.json deleted file mode 100644 index 74bb953..0000000 --- a/test/node_modules/gitbook-plugin-test-config/package.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "gitbook-plugin-test-config", - "version": "1.0.0", - "engines": { - "gitbook": "*" - }, - "gitbook": { - "properties": { - "myProperty": { - "type": "string", - "required": true, - "title": "This is a required property" - }, - "myDefaultProperty": { - "type": "string", - "default": "hello", - "title": "This is a required property" - } - } - } -}
\ No newline at end of file diff --git a/test/node_modules/gitbook-plugin-test-deprecated/index.js b/test/node_modules/gitbook-plugin-test-deprecated/index.js deleted file mode 100644 index 2a77ce3..0000000 --- a/test/node_modules/gitbook-plugin-test-deprecated/index.js +++ /dev/null @@ -1,8 +0,0 @@ -module.exports = { - hooks: { - page: function(page) { - page.sections[0].content = 'Hello (sections) ' + page.content; - return page; - } - } -}; diff --git a/test/node_modules/gitbook-plugin-test-deprecated/package.json b/test/node_modules/gitbook-plugin-test-deprecated/package.json deleted file mode 100644 index 9da523c..0000000 --- a/test/node_modules/gitbook-plugin-test-deprecated/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "gitbook-plugin-test-deprecated", - "version": "1.0.0", - "engines": { - "gitbook": "*" - } -}
\ No newline at end of file diff --git a/test/node_modules/gitbook-plugin-test-filters/index.js b/test/node_modules/gitbook-plugin-test-filters/index.js deleted file mode 100644 index 71f2752..0000000 --- a/test/node_modules/gitbook-plugin-test-filters/index.js +++ /dev/null @@ -1,21 +0,0 @@ -var should = require('should'); - -module.exports = { - filters: { - // Simple test - hello: function(s) { - return 'Hello ' + s + '!'; - }, - - // Test using the conetxt "this" - testContext: function(s) { - this.should.have.property('config'); - this.should.have.property('log'); - this.should.have.property('options'); - this.should.have.property('resolve').which.is.a.function; - this.should.have.property('book').which.equal(this); - - return 'Hello ' + s + '!'; - } - } -}; diff --git a/test/node_modules/gitbook-plugin-test-filters/package.json b/test/node_modules/gitbook-plugin-test-filters/package.json deleted file mode 100644 index d555d06..0000000 --- a/test/node_modules/gitbook-plugin-test-filters/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "gitbook-plugin-test-filters", - "version": "1.0.0", - "engines": { - "gitbook": "*" - } -}
\ No newline at end of file diff --git a/test/node_modules/gitbook-plugin-test-hooks/index.js b/test/node_modules/gitbook-plugin-test-hooks/index.js deleted file mode 100644 index cd9d1b0..0000000 --- a/test/node_modules/gitbook-plugin-test-hooks/index.js +++ /dev/null @@ -1,18 +0,0 @@ -module.exports = { - hooks: { - 'init': function() { - global._hooks = []; - global._hooks.push('init'); - }, - 'finish': function() { - global._hooks.push('finish'); - }, - 'finish:before': function() { - global._hooks.push('finish:before'); - }, - page: function(page) { - page.content = 'Hello ' + page.content; - return page; - } - } -}; diff --git a/test/node_modules/gitbook-plugin-test-hooks/package.json b/test/node_modules/gitbook-plugin-test-hooks/package.json deleted file mode 100644 index adb12a8..0000000 --- a/test/node_modules/gitbook-plugin-test-hooks/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "gitbook-plugin-test-hooks", - "version": "1.0.0", - "engines": { - "gitbook": "*" - } -}
\ No newline at end of file diff --git a/test/node_modules/gitbook-plugin-test-resources/index.js b/test/node_modules/gitbook-plugin-test-resources/index.js deleted file mode 100644 index e95e411..0000000 --- a/test/node_modules/gitbook-plugin-test-resources/index.js +++ /dev/null @@ -1,12 +0,0 @@ -module.exports = { - book: { - assets: './assets', - js: [ - 'myfile.js', - 'https://ajax.googleapis.com/ajax/libs/angularjs/1.4.9/angular.min.js' - ], - css: [ - 'myfile.css' - ] - } -}; diff --git a/test/node_modules/gitbook-plugin-test-resources/package.json b/test/node_modules/gitbook-plugin-test-resources/package.json deleted file mode 100644 index 606de31..0000000 --- a/test/node_modules/gitbook-plugin-test-resources/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "gitbook-plugin-test-resources", - "version": "1.0.0", - "engines": { - "gitbook": "*" - } -}
\ No newline at end of file |