Added prettier to the build and precommit

This commit is contained in:
Trevor F. Smith 2018-02-14 11:40:16 -08:00
Родитель 868cc7199b
Коммит 3b41f422e3
2 изменённых файлов: 953 добавлений и 396 удалений

1332
package-lock.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"
}
}