mirror of
https://github.com/flozz/StackBlur.git
synced 2025-12-08 18:23:20 +00:00
- Fix: Duck type with image or canvas in place of `instanceof` check (and a broken one) - Enhancement: Add JSDoc comments - Linting (ESLint): Add ESLint with "standard" base - Linting (Markdown): Add `.remarkrc` - Linting (package.json): Add recommended properties - Linting (HTML): Add empty favicon to suppress console - License: Change MIT license file name to reflect license type (MIT) - Docs: Move changelog to own file: `CHANGES.md` - Demo: Move demo to own directory (with static server to avoid Chrome security problems reaching out of folder) - Demo: Move JS and CSS to separate files for easier linting/examination - Build: Move from Grunt to Rollup, supporting ES6 Modules distribution as well as UMD - Build: Add npm-recommended `package-lock.json` - npm: Add start, eslint, rollup, open-docs, docs scripts - npm: Add `module` for ES6 module discovery and switch `main` to point to `dist` - npm: Bump to 2.0.0
53 lines
1.5 KiB
JSON
53 lines
1.5 KiB
JSON
{
|
|
"name": "stackblur-canvas",
|
|
"version": "2.0.0",
|
|
"description": "Fast and almost Gaussian blur by Mario Klingemann",
|
|
"main": "dist/stackblur.js",
|
|
"module": "dist/stackblur-es.js",
|
|
"scripts": {
|
|
"start": "opn http://localhost:8081/demo/ && static -p 8081",
|
|
"eslint": "eslint .",
|
|
"rollup": "rollup -c",
|
|
"open-docs": "npm run docs && opn http://localhost:8081/docs/jsdoc/ && static -p 8081",
|
|
"docs": "rm -rf docs/jsdoc/*;jsdoc --pedantic -c docs/jsdoc-config.json src",
|
|
"test": "npm run eslint && npm run rollup && echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/flozz/StackBlur.git"
|
|
},
|
|
"keywords": [
|
|
"stackblur",
|
|
"blur",
|
|
"canvas",
|
|
"gaussian"
|
|
],
|
|
"author": "Mario Klingemann",
|
|
"homepage": "http://www.quasimondo.com/StackBlurForCanvas/StackBlurDemo.html",
|
|
"contributors": [
|
|
"Brett Zamir"
|
|
],
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/flozz/StackBlur/issues"
|
|
},
|
|
"engines": {},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.1.2",
|
|
"eslint": "5.8.0",
|
|
"eslint-config-standard": "12.0.0",
|
|
"eslint-plugin-import": "2.14.0",
|
|
"eslint-plugin-node": "8.0.0",
|
|
"eslint-plugin-promise": "4.0.1",
|
|
"eslint-plugin-standard": "4.0.0",
|
|
"jsdoc": "^3.5.5",
|
|
"node-static": "^0.7.11",
|
|
"opn-cli": "^3.1.0",
|
|
"rollup": "0.67.0",
|
|
"rollup-plugin-babel": "^4.0.3",
|
|
"rollup-plugin-re": "^1.0.7",
|
|
"rollup-plugin-terser": "^3.0.0"
|
|
},
|
|
"dependencies": {}
|
|
}
|