summaryrefslogtreecommitdiff
path: root/www/wiki/skins/chameleon/package.json
diff options
context:
space:
mode:
authorYaco <franco@reevo.org>2020-06-04 11:01:00 -0300
committerYaco <franco@reevo.org>2020-06-04 11:01:00 -0300
commitfc7369835258467bf97eb64f184b93691f9a9fd5 (patch)
treedaabd60089d2dd76d9f5fb416b005fbe159c799d /www/wiki/skins/chameleon/package.json
first commit
Diffstat (limited to 'www/wiki/skins/chameleon/package.json')
-rw-r--r--www/wiki/skins/chameleon/package.json37
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"
+ ]
+ }
+}