Skip to content

Commit 5d2b8a4

Browse files
committed
chore: upgrade dependencies
1 parent e88a92d commit 5d2b8a4

3 files changed

Lines changed: 48 additions & 9 deletions

File tree

.prettierignore

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Dependency directory
2+
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-
3+
node_modules
4+
5+
# IntelliJ IDEA settings
6+
.idea
7+
*.iml
8+
*.log
9+
10+
# coverage reporter output
11+
coverage
12+
13+
# dist
14+
dist
15+
typings
16+
es

.prettierrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"printWidth": 100,
3+
"semi": false,
4+
"bracketSpacing": false,
5+
"singleQuote": true,
6+
"tabWidth": 4
7+
}

package.json

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"fetch-mock": "5.13.1",
3131
"http-server": "0.11.1",
3232
"istanbul-instrumenter-loader": "3.0.1",
33-
"karma": "2.0.0",
33+
"karma": "2.0.2",
3434
"karma-chrome-launcher": "2.2.0",
3535
"karma-cli": "1.0.1",
3636
"karma-coverage": "1.1.2",
@@ -39,21 +39,26 @@
3939
"karma-remap-coverage": "0.1.5",
4040
"karma-sauce-launcher": "1.2.0",
4141
"karma-sourcemap-loader": "0.3.7",
42-
"karma-webpack": "2.0.9",
43-
"mocha": "4.1.0",
42+
"karma-webpack": "3.0.0",
43+
"lint-staged": "7.1.3",
44+
"mocha": "5.2.0",
4445
"phantomjs-prebuilt": "2.1.16",
46+
"prettier": "1.13.4",
4547
"semver": "5.5.0",
4648
"should": "13.1.1",
47-
"ts-loader": "3.5.0",
49+
"ts-loader": "4.3.1",
4850
"tslib": "1.9.2",
49-
"tslint": "5.9.1",
50-
"tslint-loader": "3.5.3",
51-
"typedoc": "0.11.0",
52-
"typescript": "2.7.2",
51+
"tslint": "5.10.0",
52+
"tslint-loader": "3.6.0",
53+
"typedoc": "0.11.1",
54+
"typescript": "2.9.1",
5355
"uuid": "3.2.1",
54-
"webpack": "3.11.0"
56+
"webpack": "4.10.2",
57+
"webpack-cli": "3.0.1"
5558
},
5659
"scripts": {
60+
"precommit": "lint-staged",
61+
"prettier": "prettier --write **/*.{ts,tsx,js,css,md}",
5762
"test": "karma start karma.conf.js",
5863
"e2e": "CI=true mocha --no-timeouts test/e2e.test.js",
5964
"debug": "npm run test -- --auto-watch --browsers Chrome --no-single-run",
@@ -79,6 +84,17 @@
7984
"Hovhannes Babayan <bhovhannes@gmail.com>",
8085
"Sassoun Derderian <citizen.sas@gmail.com>"
8186
],
87+
"lint-staged": {
88+
"*.{ts,tsx}": [
89+
"npm run lint:fix",
90+
"prettier --write",
91+
"git add"
92+
],
93+
"*.{js,jsx,css,md}": [
94+
"prettier --write",
95+
"git add"
96+
]
97+
},
8298
"license": "Apache-2.0",
8399
"bugs": {
84100
"url": "https://github.com/Workfront/workfront-api/issues"

0 commit comments

Comments
 (0)