forked from prevwong/craft.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
131 lines (131 loc) · 3.82 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"npmClient": "yarn",
"private": true,
"author": "Prev Wong <prevwong@gmail.com>",
"scripts": {
"dev": "./scripts/dev.sh",
"dev:docs": "lerna run start --scope docs",
"dev:all": "run-p dev dev:docs",
"dev:yalc": "lerna run dev:yalc --parallel",
"clean": "lerna run clean --stream",
"build": "lerna run build --stream --ignore docs --ignore example-*",
"build:all": "lerna run build --stream",
"deploy": "cross-env ENV=production ./scripts/deploy.sh",
"deploy:staging": "cross-env ENV=staging ./scripts/deploy.sh",
"prettier": "prettier --write .",
"release": "run-s lint clean build test release:npm",
"release:npm": "./scripts/release.sh",
"publish:beta": "lerna version prerelease --preid beta --force-publish --yes",
"cypress:run": "cypress run",
"cypress:open": "cypress open",
"test": "jest",
"test:watch": "cross-env NODE_ENV=test jest --watchAll",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"scaffold": "lerna clean --yes && yarn run lerna:bootstrap",
"lerna:link": "lerna link",
"lerna:bootstrap": "lerna bootstrap",
"lerna:version": "lerna version --conventional-commits --yes",
"lerna:prerelease": "yarn lerna:version --conventional-prerelease --yes",
"lerna:publish": "lerna publish from-git --yes"
},
"devDependencies": {
"@babel/cli": "^7.7.4",
"@babel/core": "^7.7.4",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/plugin-proposal-object-rest-spread": "^7.7.4",
"@babel/preset-env": "^7.7.4",
"@testing-library/react": "^9.4.0",
"@types/jest": "^24.0.25",
"@types/react": "^16.9.11",
"@types/react-dom": "^16.8.0",
"@typescript-eslint/eslint-plugin": "^2.14.0",
"@typescript-eslint/parser": "^2.14.0",
"babel-eslint": "^10.0.3",
"cross-env": "^6.0.3",
"cypress": "^6.5.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-config-react-app": "^5.1.0",
"eslint-plugin-flowtype": "^4.5.3",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-react-hooks": "^2.3.0",
"husky": "^3.1.0",
"jest": "^24.9.0",
"lerna": "^3.20.1",
"lint-staged": "^9.5.0",
"nodemon": "^2.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.1",
"pretty-quick": "^2.0.1",
"react": "^16.9.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^5.1.3",
"ts-jest": "^24.2.0",
"typescript": "^3.5.1"
},
"workspaces": {
"packages": [
"packages/*",
"packages/examples/*"
]
},
"dependencies": {
"@babel/preset-typescript": "^7.7.7",
"all-contributors-cli": "^6.11.2",
"rollup-plugin-typescript": "^1.0.1"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/prevwong/craft.js.git"
},
"jest": {
"setupFilesAfterEnv": [
"<rootDir>/jest/setup.js"
],
"clearMocks": true,
"cacheDirectory": ".jest-cache",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"modulePaths": [
"<rootDir>/packages/core/"
],
"testMatch": [
"<rootDir>/packages/**/?(*.)test.ts(x|)"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.jest.json",
"diagnostics": {
"pathRegex": "/.(spec|test).ts$/"
}
}
}
},
"lint-staged": {
"packages/**/*.{js,jsx,ts,tsx}": [
"pretty-quick --staged",
"npm run lint",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "jest"
}
}
}