Skip to content

Commit 8ef58b9

Browse files
dkundelwell1791
authored andcommitted
Add Prettier as dependency and scripts
1 parent bc0b03f commit 8ef58b9

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

package-lock.json

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "api-snippets",
3+
"version": "1.0.0",
4+
"description": "The API Snippets for Twilio's Docs",
5+
"scripts": {
6+
"prettier:base": "prettier --single-quote --trailing-comma es5",
7+
"prettier:write": "npm run prettier:base -- --write",
8+
"format:js": "npm run prettier:write -- \"!(tools|node_modules)/**/*.js\"",
9+
"test:js": "npm run prettier:base -- -l \"!(tools|node_modules)/**/*.js\"",
10+
"test": "npm run test:js"
11+
},
12+
"repository": {
13+
"type": "git",
14+
"url": "git+https://github.com/TwilioDevEd/api-snippets.git"
15+
},
16+
"author": "",
17+
"license": "MIT",
18+
"bugs": {
19+
"url": "https://github.com/TwilioDevEd/api-snippets/issues"
20+
},
21+
"homepage": "https://github.com/TwilioDevEd/api-snippets#readme",
22+
"devDependencies": {
23+
"prettier": "^1.5.3"
24+
}
25+
}

0 commit comments

Comments
 (0)