make npm build ready for netlify

This commit is contained in:
Kevin Jahns 2018-11-25 03:41:07 +01:00
parent 70139262c5
commit 8450ff86d7
3 changed files with 3 additions and 10 deletions

View File

@ -5,9 +5,8 @@
"dictionaries": ["jsdoc"]
},
"source": {
"include": ["types", "utils/UndoManager.js", "utils/Y.js", "provider", "bindings"],
"includePattern": ".js$",
"excludePattern": "(node_modules/|docs|build|examples)"
"include": ["./types", "./utils/UndoManager.js", "./utils/Y.js", "./provider", "./bindings"],
"includePattern": ".js$"
},
"plugins": [
"plugins/markdown"

5
package-lock.json generated
View File

@ -4708,11 +4708,6 @@
}
}
},
"jsdoc-template": {
"version": "git+ssh://git@github.com/braintree/jsdoc-template.git#ec0e3c0ec95de6b4e928af3285bbf69aac2f25b6",
"from": "git+ssh://git@github.com/braintree/jsdoc-template.git#3.3.0",
"dev": true
},
"jsdom": {
"version": "7.2.2",
"resolved": "https://registry.npmjs.org/jsdom/-/jsdom-7.2.2.tgz",

View File

@ -10,7 +10,7 @@
"watch": "rollup -wc",
"debug": "concurrently 'rollup -wc' 'cutest-serve build/y.test.js -o'",
"lint": "standard **/*.js",
"docs": "rm -rf docs && jsdoc --configure .jsdoc.json --verbose --readme ./README.md --package ./package.json",
"docs": "ls -al && rm -rf docs; ! jsdoc --configure ./.jsdoc.json --verbose --readme ./README.md --package ./package.json",
"serve-docs": "npm run docs && serve ./docs/",
"postversion": "npm run build"
},
@ -65,7 +65,6 @@
"esdoc": "^1.1.0",
"esdoc-standard-plugin": "^1.0.0",
"jsdoc": "^3.5.5",
"jsdoc-template": "git@github.com:braintree/jsdoc-template.git#3.3.0",
"prosemirror-example-setup": "^1.0.1",
"prosemirror-schema-basic": "^1.0.0",
"prosemirror-state": "^1.2.2",