36 lines
741 B
JSON
36 lines
741 B
JSON
{
|
|
"name": "uni2work",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"scripts": {
|
|
"babel": "babel static/es -d static/js",
|
|
"babel:watch": "watch 'npm run babel' static/es",
|
|
"lint": "eslint static/es"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"static/es/**/*.js": [
|
|
"eslint",
|
|
"git add"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.4.4",
|
|
"@babel/core": "^7.4.5",
|
|
"@babel/plugin-proposal-class-properties": "^7.4.4",
|
|
"@babel/preset-env": "^7.4.5",
|
|
"babel-eslint": "^10.0.1",
|
|
"eslint": "^5.16.0",
|
|
"husky": "^2.3.0",
|
|
"lint-staged": "^8.1.7",
|
|
"watch": "^1.0.2"
|
|
}
|
|
}
|