4818acbaf0
I added the same jshint configuration/rules in package.json and I replaced some old function with arrow function to improve legibility
91 lines
2.0 KiB
JSON
91 lines
2.0 KiB
JSON
{
|
|
"name": "reveal.js",
|
|
"version": "3.6.0",
|
|
"description": "The HTML Presentation Framework",
|
|
"homepage": "http://revealjs.com",
|
|
"subdomain": "revealjs",
|
|
"main": "js/reveal.js",
|
|
"scripts": {
|
|
"test": "gulp test",
|
|
"start": "gulp serve",
|
|
"build": "gulp"
|
|
},
|
|
"author": {
|
|
"name": "Hakim El Hattab",
|
|
"email": "hakim.elhattab@gmail.com",
|
|
"web": "http://hakim.se"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/hakimel/reveal.js.git"
|
|
},
|
|
"engines": {
|
|
"node": ">=4.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"express": "^4.16.2",
|
|
"grunt": "^1.0.1",
|
|
"grunt-autoprefixer": "^3.0.4",
|
|
"grunt-cli": "^1.2.0",
|
|
"grunt-contrib-connect": "^1.0.2",
|
|
"grunt-contrib-cssmin": "^2.2.1",
|
|
"grunt-contrib-jshint": "^1.1.0",
|
|
"grunt-contrib-qunit": "^2.0.0",
|
|
"grunt-contrib-uglify": "^3.3.0",
|
|
"grunt-contrib-watch": "^1.0.0",
|
|
"grunt-retire": "^1.0.7",
|
|
"grunt-sass": "^2.0.0",
|
|
"grunt-zip": "~0.17.1",
|
|
"gulp": "^4.0.0",
|
|
"gulp-autoprefixer": "^5.0.0",
|
|
"gulp-clean-css": "^3.9.3",
|
|
"gulp-connect": "^5.5.0",
|
|
"gulp-eslint": "^4.0.2",
|
|
"gulp-qunit": "^2.0.1",
|
|
"gulp-rename": "^1.2.2",
|
|
"gulp-sass": "^3.1.0",
|
|
"gulp-uglify": "^3.0.0",
|
|
"gulp-zip": "^4.1.0",
|
|
"jshint": "^2.9.5",
|
|
"mustache": "^2.3.0",
|
|
"socket.io": "^1.7.3"
|
|
},
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"npm": "^5.7.1"
|
|
},
|
|
"eslintConfig": {
|
|
"env": {
|
|
"browser": true
|
|
},
|
|
"globals": {
|
|
"head": false,
|
|
"module": false,
|
|
"console": false,
|
|
"unescape": false,
|
|
"define": false,
|
|
"exports": false
|
|
},
|
|
"rules": {
|
|
"curly": 0,
|
|
"eqeqeq": 2,
|
|
"wrap-iife": [
|
|
2,
|
|
"any"
|
|
],
|
|
"no-use-before-define": [
|
|
2,
|
|
{
|
|
"functions": false
|
|
}
|
|
],
|
|
"new-cap": 2,
|
|
"no-caller": 2,
|
|
"dot-notation": 0,
|
|
"no-undef": 2,
|
|
"no-eq-null": 2,
|
|
"no-unused-expressions": 2
|
|
}
|
|
}
|
|
}
|