-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
40 lines (40 loc) · 1.98 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
{
"private": true,
"name": "motorcycle.ts",
"version": "0.0.0",
"description": "A statically-typed, functional and reactive framework for modern browsers",
"main": "index.js",
"repository": "[email protected]:motorcyclets/motorcycle",
"author": "Tylor Steinberger <[email protected]>",
"license": "MIT",
"devDependencies": {
"@typed/test": "3.6.0",
"dox": "0.9.0",
"glob-expand": "0.2.1",
"husky": "0.14.3",
"lerna": "2.4.0",
"lint-staged": "4.2.3",
"prettier": "1.7.4",
"typescript": "2.5.3"
},
"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 --hoist -- --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",
"changelog": "github_changelog_generator --no-compare-link --bug-labels 'Type:\u0020Bug' --enhancement-labels 'Type:\u0020Feature,Type:\u0020Chore' --include-labels 'Type:\u0020Feature,Type:\u0020Chore,Type:\u0020Bug,Type:\u0020Breaking,Type:\u0020Regression' --user motorcyclets --project motorcycle",
"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 && yarn changelog && git add CHANGELOG.md && git commit -m 'docs(CHANGELOG): rebuild changelog && git push'",
"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"
}
}