This repository has been archived by the owner on Jun 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 1.67 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
{
"name": "simple-cookies",
"version": "0.6.0",
"description": "A very simple JS (or TS) library to handle cookies in the browser",
"main": "lib/main.js",
"types": "lib/main.d.ts",
"repository": "https://github.com/Lapanti/simple-cookies",
"author": "Lapanti <laurilavanti@gmail.com>",
"license": "MIT",
"jest": {
"transform": {
".ts": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"mapCoverage": true,
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.ts$",
"moduleFileExtensions": [
"ts",
"js"
]
},
"lint-staged": {
"verbose": true,
"linters": {
"src/cookies.ts": [
"prettier --single-quote --print-width 120 --tab-width 4 --trailing-comma all --write",
"build",
"git add"
]
}
},
"scripts": {
"precommit": "lint-staged",
"prepush": "yarn test",
"lint": "tslint --type-check --project tsconfig.json",
"test": "yarn lint && jest",
"test:watch": "jest --watch",
"test:ci": "yarn lint && jest --runInBand --forceExit --coverage",
"build": "webpack -p",
"postbuild": "mv lib/cookies.d.ts lib/main.d.ts"
},
"devDependencies": {
"@types/jest": "^20.0.2",
"@types/node": "^8.0.5",
"@types/webpack": "^3.0.1",
"awesome-typescript-loader": "^3.2.1",
"babel-core": "^6.25.0",
"babel-loader": "^7.1.1",
"babel-preset-env": "^1.5.2",
"coveralls": "^2.13.1",
"husky": "^0.14.1",
"jest": "^21.0.1",
"lint-staged": "^4.0.0",
"prettier": "^1.5.2",
"ts-jest": "^20.0.6",
"ts-node": "^3.1.0",
"tslint": "^5.4.3",
"tslint-config-prettier": "^1.1.0",
"typescript": "^2.4.1",
"webpack": "^3.0.0"
}
}