X-Git-Url: https://pwan.org/git/?p=tech-radar.git;a=blobdiff_plain;f=package.json;h=1b261bc78cc9e42804c31a3c9f885e3af7616323;hp=aad9b1c93ac925ad8ad5ad82110bfd126745a04f;hb=ec6f94d7e6731d2694c88f6a0f2643c541a71aa0;hpb=1af3e4254d74d0fd474b5a54fc34ebac899ca5a0 diff --git a/package.json b/package.json index aad9b1c..1b261bc 100644 --- a/package.json +++ b/package.json @@ -1,36 +1,43 @@ { "name": "tech-radar", - "version": "0.1.1", - "description": "", + "version": "1.0.0", + "description": "Fork of Bruno Trescenti's tech-radar project", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "karma start karma.conf.js --single-run", + "test:dist": "npm run build && karma start karma-dist.conf.js --single-run", + "build:clean": "rm -rf ./dist/*", + "build:sass": "node-sass -r ./src/stylesheets/base.scss ./dist/base.css", + "build:uglify": "uglifyjs -c -m -o ./dist/tech-radar.min.js --source-map -- ./src/namespaces.js ./src/**/*.js", + "build:deps": "cp node_modules/chance/chance.js ./dist/ && cp node_modules/d3/build/d3.min.js ./dist/ && cp node_modules/d3-queue/build/d3-queue.min.js ./dist/", + "build": "mkdir -p ./dist && npm run build:clean && npm run build:sass && npm run build:uglify && npm run build:deps", + "examples:clean": "rm -rf ./examples/*{.js,.css,.map}", + "examples:deps": "cp -r ./dist/* ./examples/", + "examples": "npm run build && npm run examples:clean && npm run examples:deps", + "publishExamples": "node ./scripts/publish-examples.js", + "build:all": "npm install && npm run build && npm run examples" }, - "author": "", + "author": "Jude N", + "repository": { + "type": "git", + "url": "https://pwan.org/git/tech-radar.git" + }, + "keywords": [ + "tech-radar" + ], "license": "ISC", "devDependencies": { - "gulp-util": "~2.2.14", - "gulp": "~3.5.2", "karma-script-launcher": "~0.1.0", - "karma-chrome-launcher": "~0.1.2", - "karma-firefox-launcher": "~0.1.3", - "karma-html2js-preprocessor": "~0.1.0", "karma-jasmine": "~0.1.5", - "karma-coffee-preprocessor": "~0.1.3", "requirejs": "~2.1.11", - "karma-requirejs": "~0.2.1", "karma-phantomjs-launcher": "~0.1.2", "karma": "~0.10.9", - "gulp-karma": "0.0.2", - "gulp-sass": "~0.7.1", - "gulp-concat": "~2.2.0", - "gulp-uglify": "~0.2.1", - "gulp-clean": "~0.2.4", - "gulp-header": "~1.0.2" + "node-sass": "^3.1.1", + "uglify-js": "^3.0.11" }, "dependencies": { - "gulp-util": "~2.2.14", - "gulp": "~3.5.2", - "express": "~3.4.8" + "d3": "~4.9.1", + "chance": "~1.0.9", + "d3-queue": "~3.0.7" } }