-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
41 lines (41 loc) · 1018 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"name": "vanilla-js-template",
"version": "1.0.0",
"description": "Template for simple vanilla js services",
"main": "dist/index.js",
"scripts": {
"build": "./node_modules/.bin/babel src --out-dir dist",
"start": "./node_modules/.bin/babel src --watch --out-dir dist",
"lint-fix": "eslint . --fix",
"test": "mocha \"src/**/*.spec.js\" --require @babel/polyfill --require @babel/register"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.js": [
"npm run lint-fix",
"prettier --write",
"npm run test"
]
},
"author": "",
"license": "ISC",
"devDependencies": {
"@babel/cli": "^7.10.4",
"@babel/core": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"@babel/register": "^7.10.4",
"chai": "^4.2.0",
"eslint": "^7.4.0",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"mocha": "^8.0.1",
"prettier": "^2.0.5"
},
"dependencies": {
"@babel/polyfill": "^7.10.4"
}
}