UNPKG

js-common-tools

Version:
59 lines (58 loc) 2.05 kB
{ "name": "js-common-tools", "version": "1.0.3", "description": "JS常用工具函数", "main": "lib/index.js", "scripts": { "test": "babel-node test/index.js", "mocha": "./node_modules/mocha/bin/mocha test/script/*.js --watch --compilers js:babel-core/register", "mocha-markdown": "./node_modules/mocha/bin/mocha test/script/*.js --compilers js:babel-core/register --recursive -R markdown > test/report/spec.md", "mocha-html": "./node_modules/mocha/bin/mocha test/script/*.js --compilers js:babel-core/register --recursive -R doc > test/report/spec.html", "report": "npm run mocha-markdown && npm run mocha-html", "babel": "babel src -d lib", "eslint": "eslint src", "release": "eslint src && rm -rf ./lib/* && babel src -d lib && webpack", "clear": "rm -rf ./lib/*" }, "repository": { "type": "git", "url": "git+https://github.com/liufulin90/js-common-tools.git" }, "keywords": [ "es6", "js functon tools", "工具函数" ], "devDependencies": { "babel-core": "^6.22.1", "babel-eslint": "^7.1.1", "babel-loader": "^6.2.10", "babel-plugin-istanbul": "^3.1.2", "babel-plugin-transform-decorators-legacy": "^1.3.4", "babel-plugin-transform-runtime": "^6.22.0", "babel-preset-es2015": "^6.22.0", "babel-preset-stage-2": "^6.22.0", "babel-register": "^6.22.0", "babel-runtime": "^6.22.0", "chai": "^4.1.2", "cross-env": "^3.1.4", "cross-spawn": "^5.0.1", "eslint": "^3.14.1", "eslint-config-standard": "^6.2.1", "eslint-friendly-formatter": "^2.0.7", "eslint-loader": "^1.6.1", "eslint-plugin-html": "^2.0.0", "eslint-plugin-promise": "^3.4.0", "eslint-plugin-standard": "^2.0.1", "eventsource-polyfill": "^0.9.6", "express": "^4.14.1", "mocha": "^5.2.0", "webpack": "^3.4.1" }, "author": "linxins", "license": "ISC", "bugs": { "url": "https://github.com/liufulin90/js-common-tools/issues" }, "homepage": "https://github.com/liufulin90/js-common-tools#readme" }