-
Notifications
You must be signed in to change notification settings - Fork 94
/
package.json
84 lines (84 loc) · 3.58 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
{
"name": "@react-async/root",
"private": true,
"author": "Gert Hengeveld <info@ghengeveld.nl>",
"license": "ISC",
"homepage": "https://async-library.com",
"browserslist": "last 2 Firefox versions",
"repository": "git+https://github.com/async-library/react-async.git",
"workspaces": [
"examples/*",
"packages/*"
],
"scripts": {
"bootstrap": "yarn build:packages && yarn workspaces run bootstrap",
"clean": "lerna clean",
"start": "run-p start:*",
"start:examples": "vercel dev",
"start:storybook": "start-storybook -p 6006",
"lint": "eslint packages/*/src/*.{js,ts,tsx}",
"test": "jest packages/*/src/*.spec.js",
"test:watch": "yarn test -- --watch",
"test:devtools": "jest react-async-devtools/src",
"test:components": "jest src/Async.spec.js --collectCoverageFrom=src/Async.js",
"test:backwards": "yarn add -D -W react@16.3.1 react-dom@16.3.1 && yarn resolutions:fix-react && yarn test:components",
"test:forwards": "yarn add -D -W react@next react-dom@next && yarn resolutions:fix-react && yarn test",
"test:latest": "yarn add -D -W react@latest react-dom@latest && yarn resolutions:fix-react && yarn test",
"test:compat": "yarn test:backwards && yarn test:forwards && yarn test:latest",
"test:examples": "CI=1 lerna run --scope '*-example' test -- --passWithNoTests --watchAll=false",
"test:chromatic": "chromatic -t iiua39bmt0j -b build:storybook --exit-zero-on-changes",
"resolutions:fix-react": "jq '.resolutions.react = .devDependencies.react|.resolutions.\"react-dom\"=.devDependencies.react' package.json > package.json.new && mv package.json.new package.json && yarn install",
"ci": "yarn lint && yarn test:compat && yarn test:examples",
"build:packages": "lerna run --scope 'react-async*' build",
"build:examples": "lerna run --scope '*-example' build",
"build:storybook": "build-storybook -o storybook",
"deploy:examples": "vercel --prod --scope async-library --token $NOW_API_TOKEN",
"bump": "lerna version -m 'Bump' --no-git-tag-version --no-push",
"postbump": "yarn build:packages"
},
"devDependencies": {
"@babel/core": "7.9.6",
"@babel/plugin-proposal-class-properties": "7.8.3",
"@babel/plugin-proposal-object-rest-spread": "7.9.6",
"@babel/plugin-transform-runtime": "7.9.6",
"@babel/preset-env": "7.9.6",
"@babel/preset-react": "7.9.4",
"@babel/preset-typescript": "7.9.0",
"@pika/pack": "0.5.0",
"@pika/plugin-build-node": "0.9.2",
"@pika/plugin-build-types": "0.9.2",
"@pika/plugin-build-umd": "0.9.2",
"@pika/plugin-build-web": "0.9.2",
"@pika/plugin-bundle-types": "0.9.2",
"@pika/plugin-standard-pkg": "0.9.2",
"@pika/plugin-ts-standard-pkg": "0.9.2",
"@storybook/react": "5.3.18",
"@testing-library/jest-dom": "4.2.4",
"@testing-library/react": "9.5.0",
"@typescript-eslint/eslint-plugin": "2.33.0",
"@typescript-eslint/parser": "2.33.0",
"babel-eslint": "10.1.0",
"babel-jest": "24.9.0",
"babel-loader": "8.1.0",
"chromatic": "5.2.0",
"copyfiles": "2.2.0",
"eslint": "6.8.0",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-jest": "23.11.0",
"eslint-plugin-prettier": "3.1.3",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-react": "7.19.0",
"eslint-plugin-react-hooks": "2.5.1",
"jest": "24.9.0",
"lerna": "3.20.2",
"node-jq": "1.11.1",
"vercel": "20.1.2",
"npm-run-all": "4.1.5",
"prettier": "1.19.1",
"prop-types": "15.7.2",
"react": "17.0.2",
"react-async": "10.0.0-alpha.0",
"react-dom": "17.0.2",
"typescript": "3.8.3"
}
}