-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpackage.json
80 lines (80 loc) · 2.25 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
{
"name": "@hs/transmute",
"version": "2.1.1",
"description": "kind of like lodash but works with Immutable",
"license": "MIT",
"keywords": [
"curry",
"data",
"datastructure",
"function",
"functional",
"immutable",
"util"
],
"main": "index.js",
"peerDependencies": {
"immutable": "3.x"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-eslint": "^8.0.0",
"babel-jest": "^21.0.2",
"babel-preset-env": "^1.6.0",
"babel-preset-flow": "^6.23.0",
"documentation": "^5.2.2",
"eslint": "^4.7.1",
"eslint-config-prettier": "^2.5.0",
"eslint-plugin-react": "^7.3.0",
"flow-bin": "^0.54.1",
"husky": "^0.14.3",
"immutable": "^3.8.1",
"jest": "^21.2.1",
"lint-staged": "^4.2.1",
"prettier": "^1.7.0",
"prettier-eslint": "^8.1.1"
},
"files": [
"*.js",
"internal",
"src"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "npm run build:clean || npm run build:commonjs",
"build:clean": "rm -r *.js internal",
"build:commonjs": "BABEL_ENV=commonjs babel src --ignore *-test.js --out-dir .",
"docs": "npm run docs:html && npm run docs:readme",
"docs:html": "documentation build src/** -f html -o docs",
"docs:readme": "documentation readme --format md --github --quiet --section 'API' src",
"flow:check": "flow check",
"format": "git diff --name-only @ | grep \"src/.*\\.js$\" | xargs npm run prettier -- --write '{}'",
"format:all": "npm run prettier -- --write \"src/**/*.js\"",
"lint": "eslint",
"lint:all": "eslint src",
"precommit": "lint-staged",
"prepublishOnly": "npm run flow:check && npm run lint:all && npm run test && npm run build",
"postPublishOnly": "npm run build:clean",
"prepush": "npm run lint:all && npm run flow:check && npm run test",
"prettier": "prettier",
"prettier:write": "npm run prettier -- --write \"src/**/*.js\"",
"test": "jest",
"test:watch": "jest --watch"
},
"jest": {
"testMatch": [
"<rootDir>/src/**/__tests__/**/*-test.js?(x)"
],
"timers": "fake"
},
"lint-staged": {
"*.js": [
"prettier:write",
"eslint --fix src",
"git add"
]
},
"author": "Colby Rabideau<crabideau@hubspot.com>"
}