forked from react-cosmos/react-cosmos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
107 lines (107 loc) · 3.81 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
{
"private": true,
"workspaces": [
"packages/*",
"example"
],
"repository": "https://github.com/react-cosmos/react-cosmos",
"license": "MIT",
"scripts": {
"prettify": "prettier --write \"{{packages/*/src,examples,cypress,scripts}/**/,}*.{js,jsx,ts,tsx,css,md}\"",
"lint": "eslint '**/*.{ts,tsx}'",
"test:unit": "jest --config .jest/config.js",
"test:watch": "yarn test:unit --watch",
"test:coverage": "yarn test:unit --coverage",
"test:cypress": "cypress run --record false",
"test:ci": "yarn start & yarn start:export & yarn start:native & yarn test:cypress",
"link-entries": "ts-node ./scripts/linkEntries.ts",
"src": "yarn link-entries src",
"dist": "yarn link-entries dist",
"build:clear": "ts-node ./scripts/clearBuild.ts",
"build": "ts-node ./scripts/build.ts",
"export": "ts-node ./packages/react-cosmos/bin/cosmos-export.js --root-dir example",
"start": "ts-node ./packages/react-cosmos/bin/cosmos.js --root-dir example",
"start:export": "http-server -p 5001 ./example/cosmos-export",
"start:native": "ts-node ./packages/react-cosmos/bin/cosmos-native.js --root-dir example --port 5002",
"start:playground": "ts-node ./packages/react-cosmos/bin/cosmos.js --root-dir packages/react-cosmos-playground2",
"release:check": "yarn build:clear && yarn build && yarn link-entries src && yarn lint && yarn link-entries dist && yarn test:unit",
"release:lerna": "lerna publish --registry=https://registry.npmjs.org/",
"release": "yarn release:check && yarn release:lerna",
"release:next": "yarn release:check && yarn release:lerna --dist-tag=next"
},
"devDependencies": {
"@react-mock/state": "^0.1.8",
"@skidding/async-retry": "^2.0.0",
"@types/child-process-promise": "^2.2.1",
"@types/debug": "^4.1.4",
"@types/express": "^4.16.1",
"@types/fs-extra": "^5.1.0",
"@types/glob": "^7.1.1",
"@types/http-proxy-middleware": "^0.19.2",
"@types/jest": "^24.0.12",
"@types/lodash": "^4.14.126",
"@types/micromatch": "^3.1.0",
"@types/query-string": "^6.3.0",
"@types/react": "^16.8.17",
"@types/react-dom": "^16.8.4",
"@types/react-is": "^16.7.1",
"@types/react-test-renderer": "^16.8.1",
"@types/rimraf": "^2.0.2",
"@types/slash": "^2.0.0",
"@types/socket.io": "^2.1.2",
"@types/socket.io-client": "^1.4.32",
"@types/styled-components": "4.1.14",
"@types/util.promisify": "^1.0.0",
"@types/webpack": "4.4.27",
"@types/webpack-dev-middleware": "^2.0.2",
"@types/webpack-dev-server": "^3.1.5",
"@types/webpack-hot-middleware": "^2.16.5",
"@types/yargs": "^13.0.0",
"@typescript-eslint/parser": "^1.8.0",
"async-until": "^2.0.0",
"chalk": "^2.4.2",
"child-process-promise": "^2.2.0",
"codecov": "^3.4.0",
"cpy": "^7.2.0",
"create-react-class": "^15.6.3",
"css-loader": "^2.1.1",
"cypress": "^3.2.0",
"delay": "^4.2.0",
"eslint": "^5.16.0",
"eslint-plugin-react": "^7.13.0",
"eslint-plugin-react-hooks": "^1.6.0",
"glob": "^7.1.4",
"http-server": "^0.11.1",
"husky": "^2.2.0",
"jest": "^24.8.0",
"jest-dom": "^3.2.2",
"lerna": "^3.13.4",
"lint-staged": "^8.1.6",
"localforage": "^1.7.3",
"prettier": "1.17.0",
"react": "16.9.0-alpha.0",
"react-dom": "16.9.0-alpha.0",
"react-test-renderer": "16.9.0-alpha.0",
"react-testing-library": "^7.0.0",
"rimraf": "^2.6.3",
"style-loader": "^0.23.1",
"ts-jest": "^24.0.2",
"ts-loader": "^6.0.0",
"ts-node": "^8.1.0",
"typescript": "^3.4.5",
"webpack": "^4.31.0",
"webpack-cli": "^3.3.2",
"yargs": "^13.2.2"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css,md}": [
"prettier --single-quote --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "yarn dist && lint-staged"
}
}
}