different-platform
Version:
Return 'linux' on Windows, otherwise return 'win32'
34 lines (33 loc) • 729 B
JSON
{
"name": "different-platform",
"version": "1.0.1",
"description": "Return 'linux' on Windows, otherwise return 'win32'",
"repository": "shinnn/different-platform",
"author": "Shinnosuke Watanabe (https://github.com/shinnn)",
"scripts": {
"pretest": "eslint --fix --format=codeframe index.js test.js",
"test": "nyc --reporter=html --reporter=text node test.js"
},
"license": "ISC",
"files": [
"index.js"
],
"keywords": [
"another",
"different",
"platform",
"string",
"os",
"system"
],
"devDependencies": {
"@shinnn/eslint-config-node": "^5.0.0",
"eslint": "^4.18.2",
"nyc": "^11.5.0",
"pretend-platform": "^2.0.0",
"tape": "^4.9.0"
},
"eslintConfig": {
"extends": "@shinnn/node"
}
}