2020-01-28 13:07:56 +08:00
|
|
|
{
|
2020-03-31 20:57:48 +08:00
|
|
|
"name": "ms",
|
|
|
|
"version": "2.1.2",
|
2020-03-22 05:13:25 +08:00
|
|
|
"description": "Tiny millisecond conversion utility",
|
2020-03-31 20:57:48 +08:00
|
|
|
"repository": "zeit/ms",
|
|
|
|
"main": "./index",
|
|
|
|
"files": [
|
|
|
|
"index.js"
|
|
|
|
],
|
|
|
|
"scripts": {
|
|
|
|
"precommit": "lint-staged",
|
|
|
|
"lint": "eslint lib/* bin/*",
|
|
|
|
"test": "mocha tests.js"
|
2020-01-28 13:07:56 +08:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"extends": "eslint:recommended",
|
|
|
|
"env": {
|
|
|
|
"node": true,
|
|
|
|
"es6": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.js": [
|
|
|
|
"npm run lint",
|
|
|
|
"prettier --single-quote --write",
|
|
|
|
"git add"
|
|
|
|
]
|
|
|
|
},
|
2020-03-31 20:57:48 +08:00
|
|
|
"license": "MIT",
|
|
|
|
"devDependencies": {
|
|
|
|
"eslint": "4.12.1",
|
|
|
|
"expect.js": "0.3.1",
|
|
|
|
"husky": "0.14.3",
|
|
|
|
"lint-staged": "5.0.0",
|
|
|
|
"mocha": "4.0.1"
|
|
|
|
}
|
2020-01-28 13:07:56 +08:00
|
|
|
}
|