Introduce plugin framework

* Source files are under src/
* js/impress.js is now generated, but remains part of the repo (so it just works)
* npm run build
* build.js uses buildify node module
* Break out navigation and resize plugins from core src/impress.js file
This commit is contained in:
Henrik Ingo
2017-09-25 03:01:58 +03:00
parent c58b7b8a44
commit 0dc8b43650
11 changed files with 1474 additions and 102 deletions

View File

@@ -19,15 +19,17 @@
"author": "Bartek Szopka",
"license": "MIT",
"bugs": {
"url": "https://github.com/bartaz/impress.js/issues"
"url": "https://github.com/impress/impress.js/issues"
},
"scripts": {
"lint": "jshint js/impress.js test/*.js && jscs js/impress.js test/*.js",
"build": "node build.js",
"lint": "jshint src test/*.js && jscs src test/*.js",
"test": "karma start --single-run",
"test:dev": "karma start",
"test:sauce": "karma start karma.conf-sauce.js"
},
"devDependencies": {
"buildify": "*",
"chrome": "0.1.0",
"firefox": "0.0.1",
"jscs": "2.11.0",