-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
73 lines (73 loc) · 2.56 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
{
"name": "react-beautiful-dnd-tester",
"version": "0.0.10",
"description": "A react-testing-lib extension for simple beautiful-react-dnd testing.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "jest",
"prettier": "prettier --ignore-path .gitignore \"**/*.+(js|json|ts|tsx)\"",
"format": "npm run prettier -- --write",
"check-format": "npm run prettier -- --list-different",
"lint": "eslint --ignore-path .gitignore --ext .js,.ts,.tsx .",
"check-types": "tsc",
"declaration:build": "tsc -p declaration.tsconfig.json --outDir dist",
"package.json:copy": "cp package.json dist/",
"components:copy": "cp -R components dist/",
"build": "rm -rf dist && babel src --ignore **/__tests__,**/__mocks__,**/__utils__,**/*.test.* --out-dir dist --extensions '.ts' && npm run declaration:build && npm run package.json:copy && npm run components:copy",
"release": "npm version patch && npm run build && cd dist && npm publish",
"postrelease": "npm run dist:remove",
"dist:remove": "rm -rf dist"
},
"author": "Mike Wu <[email protected]> (https://sysdevmike.com)",
"license": "MIT",
"dependencies": {
"@testing-library/react": "^10.0.1"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.7",
"@babel/plugin-transform-runtime": "^7.9.0",
"@babel/plugin-transform-typescript": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"@babel/preset-react": "^7.9.1",
"@babel/preset-typescript": "^7.8.3",
"@testing-library/jest-dom": "^5.1.1",
"@types/jest": "^25.1.4",
"@types/node": "^13.9.2",
"@types/react": "^16.9.25",
"@types/react-beautiful-dnd": "^12.1.2",
"@typescript-eslint/eslint-plugin": "^2.24.0",
"@typescript-eslint/parser": "^2.24.0",
"babel-jest": "^25.1.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.19.0",
"husky": "^4.2.3",
"jest": "^25.1.0",
"jest-serializer-ansi": "^1.0.3",
"lint-staged": "^10.0.8",
"prettier": "^1.19.1",
"pretty-format": "^25.1.0",
"react": "^16.13.1",
"react-beautiful-dnd": "^13.0.0",
"react-dom": "^16.13.1",
"typescript": "^3.8.3"
},
"lint-staged": {
"**/*.+(js|ts|tsx)": [
"eslint",
"prettier --write",
"jest --findRelatedTests",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run check-types && lint-staged && npm run build",
"post-commit": "npm run dist:remove"
}
}
}