-
Notifications
You must be signed in to change notification settings - Fork 33
/
package.json
100 lines (100 loc) · 2.5 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "spaniel",
"version": "3.3.2",
"description": "LinkedIn's viewport tracking library",
"license": "Apache-2.0",
"main": "exports/spaniel.js",
"scripts": {
"test": "tsc && yarn run build && testem ci && node test/headless/run",
"test:headless": "mocha --require @babel/register test/headless/specs/**/*.js --exit",
"serve": "node test/headless/server/app",
"watch": "broccoli-timepiece exports",
"build": "./scripts/build.sh",
"stats": "node scripts/size-calc",
"prettier": "prettier --write 'src/**/*.ts'",
"prepublish": "yarn run build",
"docs:build": "./scripts/build-docs.sh",
"docs:publish": "./scripts/publish-docs.sh"
},
"files": [
"src",
"exports",
".babelrc",
"Brocfile.js",
"build.sh",
"README.md",
"rollup.config.js",
"declarations.d.ts",
"CHANGELOG.md",
".travis.yml"
],
"exports": {
".": {
"types": "./exports/index.d.ts",
"default": "./exports/spaniel.js"
}
},
"types": "exports/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/linkedin/spaniel"
},
"engines": {
"node": ">= 0.10.0"
},
"author": {
"name": "Asa Kusuma"
},
"homepage": "https://github.com/linkedin/spaniel",
"jsnext:main": "exports/es6/index.js",
"module": "exports/es6/index.js",
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/preset-env": "^7.2.2",
"@babel/register": "^7.0.0",
"assert": "^1.3.0",
"broccoli": "^1.1.0",
"broccoli-cli": "1.0.0",
"broccoli-funnel": "^1.2.0",
"broccoli-merge-trees": "^3.0.1",
"broccoli-rollup": "^2.1.1",
"broccoli-string-replace": "^0.1.1",
"broccoli-typescript-compiler": "^4.1.0",
"broccoli-uglify-sourcemap": "^1.4.2",
"chai": "^3.5.0",
"chokidar": "^1.6.0",
"express": "^4.13.4",
"gzip-size": "^3.0.0",
"husky": "^1.3.1",
"lint-staged": "^8.1.0",
"mocha": "^5.2.0",
"nightmare": "^3.0.1",
"prettier": "^1.15.3",
"pretty-bytes": "^4.0.2",
"rsvp": "^3.1.0",
"serve-static": "^1.10.2",
"sinon": "^1.14.1",
"testem": "^1.12.0",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.17.0",
"tslint-plugin-prettier": "^2.0.1",
"typescript": "~3.2.2"
},
"prettier": {
"printWidth": 120,
"tabWidth": 2,
"singleQuote": true,
"trailingComma": "none"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,js}": [
"prettier --write",
"git add"
]
}
}