-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
131 lines (131 loc) · 3.89 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "fts-monorepo",
"private": true,
"version": "0.0.1",
"description": "TypeScript standard for rock solid serverless functions.",
"repository": "https://github.com/transitive-bullshit/functional-typescript",
"author": "Saasify <[email protected]>",
"license": "MIT",
"workspaces": [
"packages/*"
],
"engines": {
"node": ">=10"
},
"scripts": {
"start": "run-s build:clean && tsc --build tsconfig.json --watch",
"build": "run-s build:clean bootstrap && tsc --build tsconfig.json",
"build:clean": "tsc --build tsconfig.json --clean",
"fix": "run-s fix:*",
"fix:prettier": "prettier '**/*.ts' --write",
"fix:tslint": "tslint --fix --project .",
"test": "run-s build test:*",
"test:lint": "tslint --project . && prettier '**/*.ts' --list-different",
"test:unit": "nyc -- ava -v",
"cov": "run-s build test:unit cov:html && opn coverage/index.html",
"cov:html": "nyc report --reporter=html",
"doc": "run-s doc:html && opn build/docs/index.html",
"doc:html": "typedoc src/ --exclude **/*.test.ts --target ES6 --mode file --out build/docs",
"doc:publish": "gh-pages -m '[ci skip] Updates' -d build/docs",
"clean": "git clean -dfqX -- ./node_modules **/{build,node_modules}/",
"fixtures": "node -r esm ./scripts/generate-fixture-definitions.js > packages/fts-http-client/src/fixtures.json",
"bootstrap": "lerna bootstrap",
"publish": "lerna publish",
"preinstall": "node -e \"if (process.env.npm_execpath.indexOf('yarn') < 0) throw new Error('fts requires yarn for development')\"",
"postinstall": "run-s bootstrap"
},
"dependencies": {
"fts": "link:packages/fts",
"fts-core": "link:packages/fts-core",
"fts-dev": "link:packages/fts-dev",
"fts-http": "link:packages/fts-http",
"fts-http-client": "link:packages/fts-http-client",
"fts-validator": "link:packages/fts-validator"
},
"devDependencies": {
"@types/accepts": "^1.3.5",
"@types/content-type": "^1.1.2",
"@types/cors": "^2.8.4",
"@types/doctrine": "^0.0.3",
"@types/fs-extra": "^5.0.4",
"@types/get-port": "^4.0.1",
"@types/globby": "^8.0.0",
"@types/got": "^9.4.0",
"@types/is-stream": "^1.1.0",
"@types/json-schema": "^7.0.1",
"@types/micro": "^7.3.3",
"@types/nock": "^9.3.1",
"@types/node": "^10.12.18",
"@types/parseurl": "^1.3.1",
"@types/pify": "^3.0.2",
"@types/qs": "^6.5.1",
"@types/resolve": "^0.0.8",
"@types/seedrandom": "^2.4.27",
"@types/tempy": "^0.2.0",
"@types/type-is": "^1.6.2",
"ava": "^1.1.0",
"clone-deep": "^4.0.1",
"codecov": "^3.1.0",
"cz-conventional-changelog": "^2.1.0",
"delay": "^4.3.0",
"esm": "^3.1.1",
"get-port": "^4.1.0",
"gh-pages": "^2.0.1",
"globby": "^9.0.0",
"got": "^9.6.0",
"husky": "^1.3.1",
"json-schema-faker": "^0.5.0-rc16",
"lerna": "^3.10.6",
"lint-staged": "^8.1.0",
"nock": "^10.0.6",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"opn-cli": "^4.0.0",
"p-map": "^2.0.0",
"pify": "^4.0.1",
"prettier": "^1.16.0",
"seedrandom": "^2.4.4",
"standard-version": "^4.4.0",
"tempy": "^0.2.1",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.17.0",
"typedoc": "^0.14.2",
"typescript": "3.2.4"
},
"ava": {
"failFast": true,
"snapshotDir": "./.snapshots",
"concurrency": 1,
"files": [
"packages/*/build/**/*.test.js"
],
"sources": [
"packages/*/build/**/*.js"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"lint-staged": {
"*.{ts,js,json,md}": [
"prettier --write",
"git add"
]
},
"prettier": {
"singleQuote": true,
"jsxSingleQuote": true,
"semi": false,
"tabWidth": 2,
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "always"
},
"nyc": {
"exclude": [
"**/*.test.js"
]
}
}