-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 2.4 KB
/
package.json
File metadata and controls
94 lines (94 loc) · 2.4 KB
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
{
"name": "format2json2view",
"version": "0.1.7",
"private": false,
"author": "Leo<monkeydreamgo@gmail.com>",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"main": "dist/index.js",
"license": "MIT",
"publishConfig": {
"registry": "https://npm.pkg.github.com/@monaco-io"
},
"files": [
"dist",
"LICENSE",
"package.json"
],
"keywords": [
"react",
"json",
"format",
"view",
"pretty",
"typescript"
],
"repository": {
"type": "git",
"url": "https://github.com/monaco-io/Format2Json2View.git"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"build:component": "rm -rf ./dist && npm run build:ts && npm run build:css",
"build:ts": "tsc -p tsconfig.build.json",
"test:nowatch": "cross-env CI=true react-scripts test",
"build:css": "node-sass -r ./src/Format2Json2View/index.scss -o ./dist --precision",
"lint": "eslint --ext js,ts,tsx src",
"lint-staged": "lint-staged",
"prepublishOnly": "npm run test:nowatch && npm run lint && npm run build:component",
"tar": "cd ./dist && tar -czvf Format2Json2View.tar ./*"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint-staged"
}
},
"lint-staged": {
"**/*.{js,jsx,tsx,ts,less,md,json}": [
"prettier --write",
"git add"
],
"src/**/*.{tsx}": "npm run lint"
},
"dependencies": {},
"devDependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"@types/enzyme": "^3.10.5",
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/jest": "^24.9.1",
"@types/node": "^12.12.47",
"@types/react": "^16.9.38",
"@types/react-dom": "^16.9.8",
"cross-env": "^7.0.2",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"node-sass": "^4.14.1",
"prettier": "^2.0.5",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "3.4.1",
"typescript": "^3.7.5"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}