-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
114 lines (114 loc) · 3.13 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
{
"name": "tuture-monorepo",
"version": "3.0.0-alpha10",
"private": true,
"description": "Write tutorials from the future, with the power of Git and community.",
"workspaces": [
"packages/*"
],
"keywords": [
"learn-by-doing",
"learn-by-examples",
"hands-on",
"tutorial",
"diff-viewer",
"git"
],
"engines": {
"node": ">=8.0.0"
},
"scripts": {
"lint": "eslint \"**/*.{js,jsx,ts,tsx}\" --fix",
"test": "jest",
"test:watch": "jest --watch",
"build": "rollup -c",
"build:watch": "rollup -c -w",
"build:cli": "cd packages/cli && yarn && yarn build",
"build:editor": "cd packages/editor && yarn && yarn build",
"collect-editor": "cd packages/local-server && yarn collect-editor",
"clean": "rimraf packages/**/dist && rimraf packages/cli/lib && rimraf packages/editor/build",
"postinstall": "yarn build",
"prerelease": "yarn clean && yarn build && yarn build:cli && yarn build:editor && yarn collect-editor",
"release": "lerna publish"
},
"repository": {
"type": "git",
"url": "/~https://github.com/tuture-dev/tuture.git"
},
"license": "MIT",
"bugs": {
"url": "/~https://github.com/tuture-dev/tuture/issues"
},
"homepage": "/~https://github.com/tuture-dev/tuture#readme",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*": [
"pretty-quick --staged",
"eslint . --fix"
]
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^7.1.1",
"@types/faker": "^4.1.10",
"@types/jest": "^23.3.1",
"@types/lodash.clonedeep": "^4.5.6",
"@types/rc": "^1.1.0",
"@types/tmp": "^0.0.33",
"@types/which": "^1.3.1",
"@typescript-eslint/eslint-plugin": "^2.19.2",
"@typescript-eslint/parser": "^2.19.2",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.10.0",
"eslint-config-react-app": "^5.2.0",
"eslint-plugin-emotion": "^10.0.27",
"eslint-plugin-flowtype": "^4.6.0",
"eslint-plugin-html": "^6.0.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.18.3",
"eslint-plugin-react-hooks": "^1.7.0",
"faker": "^4.1.0",
"husky": "^4.2.3",
"jest": "^24.9.0",
"lerna": "^3.20.2",
"lint-staged": "^10.0.7",
"lodash.clonedeep": "^4.5.0",
"prettier": "^1.19.1",
"pretty-quick": "^2.0.1",
"rimraf": "^2.6.2",
"rollup": "^1.31.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-css-only": "^2.0.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-jsx": "^1.0.3",
"rollup-plugin-typescript2": "^0.26.0",
"ts-jest": "^24.1.0",
"typescript": "^3.8.3"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"testPathIgnorePatterns": [
"test/*"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"collectCoverageFrom": [
"build/**/*.ts"
],
"testURL": "http://localhost/",
"verbose": true
}
}