-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 1.9 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
{
"name": "pure-assign",
"version": "1.0.2",
"description": "Drop-in replacement for Object.assign() for \"updating\" immutable objects.",
"main": "dist/index.js",
"types": "dist/index",
"files": [
"dist/"
],
"sideEffects": false,
"repository": {
"type": "git",
"url": "git://github.com/dphilipson/pure-assign.git"
},
"keywords": [
"object",
"assign",
"immutable",
"update"
],
"homepage": "https://github.com/dphilipson/pure-assign",
"bugs": {
"url": "https://github.com/dphilipson/pure-assign/issues",
"email": "[email protected]"
},
"author": "David Philipson <[email protected]> (http://dphil.me)",
"license": "MIT",
"scripts": {
"build": "yarn run clean && tsc -p tsconfig.build.json",
"clean": "rm -rf dist/*",
"format-file": "prettier --write",
"format": "git ls-files | egrep '\\.(js(on)?|md|scss|tsx?)?$' | xargs yarn run format-file",
"jest": "jest",
"lint-file": "tslint",
"lint": "tslint --project .",
"prepublishOnly": "yarn run test && yarn run build",
"test": "yarn run lint && tsc && yarn run jest"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{js,json,md}": [
"yarn run format-file",
"git add"
],
"**/*.ts": [
"yarn run lint-file --fix",
"yarn run format-file",
"git add"
]
},
"devDependencies": {
"@types/jest": "^23.3.10",
"husky": "^1.2.0",
"jest": "^23.6.0",
"lint-staged": "^8.1.0",
"prettier": "^1.15.3",
"ts-jest": "^23.10.5",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.17.0",
"typescript": "^3.2.1"
},
"dependencies": {}
}