-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
38 lines (38 loc) · 1.49 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
{
"private": true,
"name": "typed",
"version": "0.0.0",
"description": "The TypeScript standard library",
"repository": "[email protected]:TylorS/typed",
"author": "Tylor Steinberger <[email protected]>",
"license": "MIT",
"devDependencies": {
"@typed/test": "9.2.0",
"dox": "0.9.0",
"glob-expand": "0.2.1",
"husky": "2.2.0",
"lerna": "3.13.4",
"lint-staged": "8.1.5",
"prettier": "1.17.0",
"typescript": "3.4.5"
},
"lint-staged": {
"*.ts": [
"prettier --write --print-width 100 --tab-width 2 --no-semi --single-quote --trailing-comma es5 --parser typescript",
"git add"
]
},
"scripts": {
"precommit": "lint-staged",
"postinstall": "lerna bootstrap -- --pure-lockfile && yarn build",
"test": "yarn test:lint && yarn test:unit",
"test:unit": "lerna run test:unit",
"test:lint": "lerna exec -- ../../node_modules/.bin/prettier --write --print-width 100 --tab-width 2 --no-semi --single-quote --trailing-comma es5 --parser typescript src/**/*.ts",
"build": "node tools/build.js",
"docs": "node tools/docs.js && git add **/README.md && git commit -m 'docs(README): rebuild documentation' && git push",
"release:pre": "yarn test && yarn build",
"release:post": "yarn docs",
"release:next": "yarn release:pre && lerna publish --exact --canary=next --npm-tag=next -- --access=public && yarn release:post",
"release": "yarn release:pre && lerna publish --exact -- --access=public && yarn release:post"
}
}