diff options
Diffstat (limited to 'www/wiki/skins/chameleon/package.json')
-rw-r--r-- | www/wiki/skins/chameleon/package.json | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/www/wiki/skins/chameleon/package.json b/www/wiki/skins/chameleon/package.json new file mode 100644 index 00000000..f3ee8f88 --- /dev/null +++ b/www/wiki/skins/chameleon/package.json @@ -0,0 +1,37 @@ +{ + "scripts": { + "pretest": "npm install", + "test": "grunt test", + "lint": "grunt lint", + "prebuild": "npm install", + "build:sticky": "mkdir -p resources/js/sticky-kit && browserify node_modules/sticky-kit/dist/sticky-kit.js -o resources/js/sticky-kit/jquery.sticky-kit.js", + "build:docs": "grep -rl 'docs/' -e '<!-- START doctoc'|xargs doctoc --title '**Contents**' --maxlevel 3 --notitle", + "build": "npm run build:sticky && npm run build:docs" + }, + "devDependencies": { + "browserify": "^13.1.0", + "browserify-shim": "^3.8.12", + "doctoc": "^1.2.0", + "grunt": "^0.4.0", + "grunt-banana-checker": "^0.4.0", + "grunt-cli": "^0.1.13", + "grunt-contrib-jshint": "^1.0.0", + "grunt-jsonlint": "^1.0.7" + }, + "dependencies": { + "sticky-kit": "^1.1.3" + }, + "browserify-shim": { + "../../resources/lib/jquery/jquery.js": { + "exports": [ + "jquery", + "$" + ] + } + }, + "browserify": { + "transform": [ + "browserify-shim" + ] + } +} |