-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
57 lines (57 loc) · 1.29 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"name": "name",
"version": "1.0.0",
"description": "description",
"main": "index.js",
"types": "index.d.ts",
"author": "author",
"license": "ISC",
"keywords": [],
"repository": {
"type": "git",
"url": "https://path/to/repo.git"
},
"scripts": {
"build": "rm -rf dist && tsc --incremental false",
"lint": "eslint '{src,scripts}/**/*.{ts,js}'",
"prepare": "npm run build && ./scripts/packageDist.js",
"start": "npm run watch",
"test": "ava -w",
"test-single": "ava",
"watch": "tsc -w"
},
"devDependencies": {
"@types/lodash": "^4.14.136",
"@types/node": "^12.6.8",
"@typescript-eslint/eslint-plugin": "^1.12.0",
"@typescript-eslint/parser": "^1.12.0",
"ava": "^2.2.0",
"eslint": "^5.3.0",
"eslint-config-airbnb": "^17.1.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.14.2",
"husky": "^3.0.1",
"lodash": "^4.17.15",
"npm-run-all": "^4.1.5",
"ts-node": "^8.3.0",
"typescript": "^3.5.3"
},
"ava": {
"compileEnhancements": false,
"extensions": [
"ts"
],
"require": [
"ts-node/register"
],
"files": [
"test/**/*"
]
},
"husky": {
"hooks": {
"pre-push": "run-s lint test-single"
}
}
}