-
Notifications
You must be signed in to change notification settings - Fork 39
/
package.json
36 lines (36 loc) · 1.01 KB
/
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
{
"name": "micro-analytics",
"private": true,
"license": "MIT",
"repository": "https://github.com/micro-analytics/micro-analytics",
"scripts": {
"precommit": "lint-staged",
"test": "jest",
"format:file": "prettier $(cat .prettier) --write ",
"format": "npm run --silent format:file -- 'packages/**/src/*.js' 'packages/**/tests/*.js' 'packages/**/tests/*.js' $(find packages/*/*.js -not -name 'dist.js')",
"lint": "npm run --silent format -- -l",
"dev": "cd packages/micro-analytics-cli && npm run dev"
},
"jest": {
"collectCoverageFrom": [
"**/src/**/*.js"
]
},
"lint-staged": {
"*.js": [
"npm run format:file",
"git add"
]
},
"devDependencies": {
"babel-jest": "^20.0.3",
"babel-plugin-transform-async-to-generator": "^6.24.1",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.5.1",
"husky": "^0.13.4",
"jest": "^20.0.4",
"lerna": "^2.9.0",
"lint-staged": "^3.6.0",
"prettier": "^1.4.2"
}
}