/
package.json
53 lines (53 loc) · 1.8 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"name": "@fav/type.is-plain-object",
"version": "1.0.2",
"description": "Checks whether a value is a plain object or not.",
"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": "npm run web:build-src && npm run web:build-test",
"web:build-src": "browserify index.js --standalone fav.type.is-plain-object -o web/fav.type.is-plain-object.js && cd web && uglifyjs fav.type.is-plain-object.js --compress --mangle -o fav.type.is-plain-object.min.js --source-map url=fav.type.is-plain-object.min.js.map",
"web:build-test": "node tool/mktest.js",
"chrome:install": "npm i --no-save mocha-chrome",
"chrome:test": "mocha-chrome test/web/browser-test.html",
"phantom:install": "npm i --no-save phantomjs-prebuilt mocha-phantomjs",
"phantom:test": "mocha-phantomjs -p node_modules/.bin/phantomjs test/web/browser-test.html",
"build": "npm run lint && npm run coverage && npm run web:build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sttk/fav-type.is-plain-object.git"
},
"keywords": [
"object",
"plain-object",
"is-plain-object",
"type",
"datatype",
"fav"
],
"author": "Takayuki Sato",
"license": "MIT",
"bugs": {
"url": "https://github.com/sttk/fav-type.is-plain-object/issues"
},
"homepage": "https://github.com/sttk/fav-type.is-plain-object#readme",
"devDependencies": {
"@xslet/platform": "^0.2.0",
"browserify": "^16.1.0",
"chai": "^3.5.0",
"coveralls": "^3.0.0",
"eslint": "^4.8.0",
"mocha": "^3.5.3",
"nyc": "^11.2.1",
"semver": "^5.4.1",
"uglify-js": "^3.1.3"
}
}