{ "name": "smalltalk", "version": "2.1.3", "description": "Promise-based Alert, Confirm and Prompt replacement", "homepage": "http://github.com/coderaiser/smalltalk", "repository": { "type": "git", "url": "git://github.com/coderaiser/smalltalk.git" }, "main": "lib/smalltalk.js", "config": { "poly": "node_modules/promise-polyfill/promise.min.js" }, "babel": { "presets": [ "es2015" ] }, "scripts": { "watch": "nodemon --watch lib --watch test --exec", "watch:test": "npm run watch -- npm test", "watch:coverage": "redrun watch -- redrun coverage", "coverage": "nyc npm test", "report": "nyc report --reporter=text-lcov | coveralls", "compile:js": "babel -d legacy lib", "compile:css": "postcss --use autoprefixer css/*.css -d dist", "minify:css": "minify dist/smalltalk.css > dist/smalltalk.min.css", "minify:js": "minify dist/smalltalk.js > dist/smalltalk.min.js", "minify:js-native": "minify dist/smalltalk.native.js > dist/smalltalk.native.min.js", "build:js-poly": "cat $npm_package_config_poly dist/smalltalk.min.js > dist/smalltalk.poly.min.js", "build:js-poly-native": "cat $npm_package_config_poly dist/smalltalk.native.min.js > dist/smalltalk.native.poly.min.js", "build:js-full": "redrun bundle:js minify:js build:js-poly", "build:js-native-full": "redrun bundle:js:native minify:js-native build:js-poly-native", "build": "redrun build:js build:css", "build:js": "redrun compile:js build:js-full build:js-native-full legacy:index clean:js", "build:css": "redrun compile:css minify:css clean:css", "bundle:base": "browserify -s smalltalk --ng false", "bundle:js": "redrun bundle:base -- -r ./legacy/smalltalk.js:smalltalk ./legacy/smalltalk.js -o dist/smalltalk.js", "bundle:js:native": "redrun bundle:base -- -r ./legacy/smalltalk.native.js:smalltalk ./legacy/smalltalk.native.js -o dist/smalltalk.native.js", "legacy:index": "echo \"module.exports = require('./smalltalk');\" > legacy/index.js", "clean:js": "rimraf dist/smalltalk.js dist/smalltalk.native.js", "clean:css": "rimraf dist/smalltalk.css", "bower": "bower", "babel": "babel", "minify": "minify", "wisdom": "npm run build", "lint:css": "stylelint css/*.css", "lint:js": "jshint lib test && jscs lib test && eslint lib test", "lint": "redrun lint:*", "test": "tape 'test/**/*.js'" }, "keywords": [ "modal", "alert", "confirm", "prompt" ], "author": "coderaiser (http://coderaiser.github.io/)", "license": "MIT", "bugs": { "url": "https://github.com/coderaiser/smalltalk/issues" }, "devDependencies": { "autoprefixer": "^6.3.7", "babel-cli": "^6.1.1", "babel-preset-es2015": "^6.0.15", "browserify": "^13.0.1", "coveralls": "^2.11.11", "eslint": "^3.0.1", "jscs": "^3.0.3", "jshint": "^2.8.0", "minify": "^2.0.0", "nodemon": "^1.9.2", "nyc": "^8.1.0", "postcss-cli": "^2.5.2", "promise-polyfill": "^6.0.0", "redrun": "^5.0.1", "rimraf": "^2.5.3", "sinon": "^1.17.4", "stylelint": "^7.0.2", "stylelint-config-standard": "^13.0.0", "systemjs": "^0.19.31", "tape": "^4.6.0" } }