-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
60 lines (56 loc) · 2.12 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
{
"name": "ts-react-hooks-tools",
"description": "Provide tools to make React hooks easy.",
"license": "MIT",
"author": {
"name": "Wenlu Wang",
"email": "kingwenlu@gmail.com",
"url": "https://github.com/kingwl"
},
"repository": {
"type": "git",
"url": "https://github.com/HearTao/ts-react-hooks-tools.git"
},
"version": "0.1.17",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"bootstrap": "yarn",
"bootstrap:plugin": "cd ./plugin && yarn",
"bootstrap:test": "cd ./tests/project && yarn",
"bootstrap:test-new": "cd ./tests/project-newjsx && yarn",
"bootstrap:all": "yarn bootstrap && yarn bootstrap:plugin && yarn bootstrap:test && yarn bootstrap:test-new",
"bootstrap:release": "yarn bootstrap && yarn bootstrap:plugin",
"build": "tsc",
"build:plugin": "cd ./plugin && yarn build",
"build:test": "tsc --project ./tsconfig.test.json",
"build:release": "yarn build && yarn build:plugin",
"build:all": "yarn build && yarn build:plugin && yarn build:test",
"link:test": "yarn link && cd tests/project && yarn link ts-react-hooks-tools",
"link:test-new": "yarn link && cd tests/project-newjsx && yarn link ts-react-hooks-tools",
"link:plugin": "yarn link && cd plugin && yarn link ts-react-hooks-tools",
"link:all": "yarn link:test && yarn link:plugin",
"test:e2e": "yarn build:test && node ./tests/runTest",
"test:ci": "yarn bootstrap:all && yarn link:all && yarn build:all && yarn test:e2e",
"lint": "prettier -c --config ./prettier.config.js ./src/**/*.{ts,tsx} ./tests/**/*.{ts,tsx}",
"prettier": "prettier -c --config ./prettier.config.js ./src/**/*.{ts,tsx} ./tests/**/*.{ts,tsx} --write"
},
"dependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"glob": "^7.1.6",
"mocha": "^8.2.1",
"vscode-test": "^1.4.1"
},
"devDependencies": {
"@types/react": "^17.0.0",
"prettier": "^2.2.1",
"react": "^17.0.1",
"typescript": "^4.1.2",
"vsce": "^1.81.1",
"vscode": "^1.1.5"
},
"files": [
"dist"
]
}