mirror of
https://github.com/less/less.js.git
synced 2026-05-01 03:00:22 -04:00
adds grunt dependencies to package.json, .jshintrc for jshint task, updates gitignore to account for tmp dir while testing
This commit is contained in:
10
.gitignore
vendored
10
.gitignore
vendored
@@ -1,8 +1,16 @@
|
||||
node_modules
|
||||
# OS and IDE
|
||||
.emacs*
|
||||
*.flymake
|
||||
*~
|
||||
.#*
|
||||
.idea
|
||||
*.sublime-*
|
||||
|
||||
# npm
|
||||
node_modules
|
||||
npm-debug.log
|
||||
|
||||
# project-specific
|
||||
tmp
|
||||
test/browser/less.js
|
||||
test/browser/test-runner-*.htm
|
||||
|
||||
15
.jshintrc
Normal file
15
.jshintrc
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"curly": true,
|
||||
"eqeqeq": true,
|
||||
"evil": true,
|
||||
"immed": true,
|
||||
"latedef": true,
|
||||
"newcap": true,
|
||||
"noarg": true,
|
||||
"sub": true,
|
||||
"undef": true,
|
||||
"unused": true,
|
||||
"boss": true,
|
||||
"eqnull": true,
|
||||
"node": true
|
||||
}
|
||||
24
package.json
24
package.json
@@ -14,6 +14,12 @@
|
||||
"type": "git",
|
||||
"url": "https://github.com/less/less.js.git"
|
||||
},
|
||||
"licenses": [
|
||||
{
|
||||
"type": "Apache v2",
|
||||
"url": "https://github.com/less/less.js/blob/master/LICENSE"
|
||||
}
|
||||
],
|
||||
"bin": {
|
||||
"lessc": "./bin/lessc"
|
||||
},
|
||||
@@ -28,7 +34,7 @@
|
||||
"node": ">=0.4.2"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "make test"
|
||||
"test": "grunt test"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"mime": "1.2.x",
|
||||
@@ -37,7 +43,15 @@
|
||||
"ycssmin": ">=1.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"diff": "~1.0"
|
||||
"diff": "~1.0.5",
|
||||
"grunt": "~0.4.1",
|
||||
"grunt-contrib-clean": "~0.5.0",
|
||||
"grunt-contrib-concat": "~0.3.0",
|
||||
"grunt-contrib-jshint": "~0.6.0",
|
||||
"grunt-contrib-uglify": "~0.2.2",
|
||||
"grunt-contrib-watch": "~0.4.4",
|
||||
"grunt-shell": "~0.3.1",
|
||||
"matchdep": "~0.1.2"
|
||||
},
|
||||
"keywords": [
|
||||
"compile less",
|
||||
@@ -63,11 +77,5 @@
|
||||
"stylesheet",
|
||||
"variables in css",
|
||||
"css less"
|
||||
],
|
||||
"licenses": [
|
||||
{
|
||||
"type": "Apache v2",
|
||||
"url": "https://github.com/less/less.js/blob/master/LICENSE"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user