UNPKG

brat-frontend-editor

Version:
56 lines (55 loc) 2.15 kB
{ "name": "brat-frontend-editor", "version": "0.3.42", "description": "\"BRAT Editor standalone frontend library\"", "main": "index.js", "scripts": { "start": "npm run prepublish && http-server -p 3001", "babel-build": "babel --presets es2015 -d client/dist/ client/src/", "babel-unstrict": "babel --plugins transform-remove-strict-mode dist/brat-frontend-editor.js > dist/brat-frontend-editor.unstrict.js", "babelify-build": "browserify --debug index.js -o dist/brat-frontend-editor.js -t [ babelify --presets [ es2015 ] --compact true ] && npm run babel-unstrict", "browserify-build": "browserify --debug index.js -o dist/brat-frontend-editor.js -t [ stringify --extensions [.html] ] ", "browserify-css": "browserify --debug index-css.js -o dist/brat-frontend-editor-css.js -t [ browserify-css --autoInject=true --minify=true ]", "cleancss": "cleancss -o dist/brat-frontend-editor.min.css index.css", "minify": "browserify dist/brat-frontend-editor.js -d -p [minifyify --no-map] > dist/brat-frontend-editor.min.js", "prepublish": "npm run browserify-build && npm run cleancss" }, "repository": { "type": "git", "url": "git+https://github.com/crim-ca/brat-frontend-editor.git" }, "keywords": [ "brat", "editor", "frontend", "annotation", "text" ], "author": "Renaud Hebert-Legault <renaud.hebert-legault@crim.ca>", "license": "MIT", "bugs": { "url": "https://github.com/crim-ca/brat-frontend-editor/issues" }, "homepage": "https://github.com/crim-ca/brat-frontend-editor#readme", "dependencies": { "browserify-css": "^0.9.2", "headjs": "^1.0.3", "jQuery": "^1.7.2", "jquery": "^1.8.3", "jquery-bbq": "0.0.1", "jquery-node-browserify": "^1.7.2", "jquery1-7-1": "^1.0.0", "sprintf-js": "^1.0.3" }, "devDependencies": { "babel-cli": "^6.10.1", "babel-plugin-transform-remove-strict-mode": "0.0.2", "babel-preset-es2015": "^6.9.0", "babelify": "^7.3.0", "browserify": "^13.0.1", "clean-css": "^3.4.18", "http-server": "^0.9.0", "minifyify": "^7.3.3", "stringify": "^5.1.0" } }