instance-stringer
Version:
Convert content of a class instance to a string.
52 lines (51 loc) • 1.46 kB
JSON
{
"name": "instance-stringer",
"version": "1.0.0",
"description": "Convert content of a class instance to a string.",
"main": "index.js",
"files": [
"index.js",
"web"
],
"scripts": {
"lint": "eslint .",
"test": "mocha",
"coverage": "nyc --reporter=lcov --reporter=text-summary npm test",
"coveralls": "nyc --reporter=text-lcov npm test | coveralls",
"web:build": "browserify index.js --standalone instanceStringer -o web/instance-stringer.js && cd web && uglifyjs instance-stringer.js --compress --mangle -o instance-stringer.min.js --source-map url=instance-stringer.min.js.map",
"chrome:install": "npm i --no-save mocha-chrome",
"chrome:test": "mocha-chrome test/web/browser-test.html",
"build": "npm run lint && npm run coverage && npm run web:build && node tool/mktest.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sttk/instance-stringer.git"
},
"keywords": [
"stringer",
"stringify",
"toString",
"class",
"instance",
"object",
"array",
"property",
"properties"
],
"author": "Takayuki Sato",
"license": "MIT",
"dependencies": {
"each-props": "^1.3.2",
"is-plain-object": "^2.0.4"
},
"devDependencies": {
"browserify": "^16.2.2",
"chai": "^4.1.2",
"coveralls": "^3.0.2",
"eslint": "^5.0.1",
"mocha": "^5.2.0",
"nyc": "^12.0.2",
"semver": "^5.5.0",
"uglify-es": "^3.3.9"
}
}