This commit marks applying prettier to the whole of git history up to this point and prettier is used to enforce format via pre-commit hook. The command used was: `git filter-branch -f --tree-filter 'prettier --no-config --single-quote --tab-width=1 --print-width=100 --use-tabs --trailing-comma=none --prose-wrap=always --write "{.,{packages,bin}/**}/*.{js,json,md}" || echo "Error formatting, possibly invalid JS"' -- --all`
22 lines
420 B
JSON
22 lines
420 B
JSON
{
|
|
"name": "router",
|
|
"version": "2.1.0",
|
|
"description": "A slim and unopinionated router",
|
|
"main": "src/index.js",
|
|
"files": [
|
|
"src"
|
|
],
|
|
"scripts": {
|
|
"test": "node ../../bin/runTests.js ./",
|
|
"pre-commit": "npm run test"
|
|
},
|
|
"keywords": [
|
|
"router"
|
|
],
|
|
"author": "Timothy Farrell <tim@thecookiejar.me> (https://github.com/explorigin)",
|
|
"license": "Apache-2.0",
|
|
"dependencies": {
|
|
"trimkit": "^1.1.0"
|
|
}
|
|
}
|