Added prettier to the build and precommit
This commit is contained in:
Родитель
868cc7199b
Коммит
3b41f422e3
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
17
package.json
17
package.json
|
@ -1,12 +1,14 @@
|
|||
{
|
||||
"name": "xr-input",
|
||||
"version": "1.0.0",
|
||||
"description": "A framework-agnostic input library that progressively handles flat, portal, and immersive web apps.",
|
||||
"description":
|
||||
"A framework-agnostic input library that progressively handles flat, portal, and immersive web apps.",
|
||||
"main": "",
|
||||
"scripts": {
|
||||
"all": "npm run-script build && npm run-script docs",
|
||||
"build": "webpack",
|
||||
"docs": "./node_modules/.bin/esdoc"
|
||||
"docs": "./node_modules/.bin/esdoc",
|
||||
"precommit": "pretty-quick --staged"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -17,16 +19,23 @@
|
|||
"bugs": {
|
||||
"url": "https://github.com/mozilla/xr-input/issues"
|
||||
},
|
||||
"prettier": {
|
||||
"singleQuote": true,
|
||||
"semi": false
|
||||
},
|
||||
"homepage": "https://github.com/mozilla/xr-input#readme",
|
||||
"devDependencies": {
|
||||
"esdoc": "^1.0.4",
|
||||
"esdoc-standard-plugin": "^1.0.0",
|
||||
"babel-core": "^6.26.0",
|
||||
"babel-loader": "^7.1.2",
|
||||
"babel-polyfill": "^6.26.0",
|
||||
"babel-preset-env": "^1.6.1",
|
||||
"babel-preset-es2015": "^6.24.1",
|
||||
"babel-preset-stage-0": "^6.24.1",
|
||||
"esdoc": "^1.0.4",
|
||||
"esdoc-standard-plugin": "^1.0.0",
|
||||
"husky": "^0.14.3",
|
||||
"prettier": "1.10.2",
|
||||
"pretty-quick": "^1.4.1",
|
||||
"webpack": "^3.8.1"
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче