30 lines
636 B
JSON
30 lines
636 B
JSON
{
|
|||
|
|
"name": "tmt-clock",
|
||
|
|
"version": "1.0.0",
|
||
|
|
"description": "",
|
||
|
|
"engines": {
|
||
|
|
"node": ">=8.10"
|
||
|
|
},
|
||
|
|
"scripts": {
|
||
|
|
"start": "aiot start --watch",
|
||
|
|
"build": "aiot build",
|
||
|
|
"release": "aiot release",
|
||
|
|
"lint": "eslint --format codeframe --fix --ext .ux,.js src/"
|
||
|
|
},
|
||
|
|
"lint-staged": {
|
||
|
|
"*.{ux,js}": [
|
||
|
|
"prettier --write",
|
||
|
|
"eslint --format codeframe --fix",
|
||
|
|
"git add"
|
||
|
|
],
|
||
|
|
"*.{less,css}": [
|
||
|
|
"prettier --write",
|
||
|
|
"stylelint --fix --custom-syntax postcss-less",
|
||
|
|
"git add"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"devDependencies": {
|
||
|
|
"@aiot-toolkit/jsc": "^1.0.3",
|
||
|
|
"aiot-toolkit": "^2.0.5"
|
||
|
|
}
|
||
|
|
}
|