mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
90 lines
3.3 KiB
JSON
90 lines
3.3 KiB
JSON
{
|
|
"name": "smalltalk",
|
|
"version": "2.2.0",
|
|
"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:lint": "npm run watch -- 'npm run lint'",
|
|
"watch:lint:js": "npm run watch -- \"run lint:js\"",
|
|
"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 css/*.css -d dist --use autoprefixer",
|
|
"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 <mnemonic.enemy@gmail.com> (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": "^14.0.0",
|
|
"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": "^10.0.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": "^16.0.0",
|
|
"systemjs": "^0.20.2",
|
|
"tape": "^4.6.0"
|
|
},
|
|
"dependencies": {
|
|
"currify": "^2.0.3"
|
|
}
|
|
}
|