mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
77 lines
2.9 KiB
JSON
77 lines
2.9 KiB
JSON
{
|
|
"name": "smalltalk",
|
|
"version": "2.1.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": "watch 'npm run 6to5' dist",
|
|
"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 && jscs lib && eslint lib",
|
|
"lint": "redrun lint:*",
|
|
"test": "redrun lint:*"
|
|
},
|
|
"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": "^13.0.1",
|
|
"eslint": "^3.0.1",
|
|
"jscs": "^3.0.3",
|
|
"jshint": "^2.8.0",
|
|
"minify": "^2.0.0",
|
|
"postcss-cli": "^2.5.2",
|
|
"promise-polyfill": "^5.1.0",
|
|
"redrun": "^5.0.1",
|
|
"rimraf": "^2.5.3",
|
|
"stylelint": "^7.0.2",
|
|
"stylelint-config-standard": "^11.0.0",
|
|
"systemjs": "^0.19.31",
|
|
"watch": "^0.19.1"
|
|
}
|
|
}
|