-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
62 lines (62 loc) · 2.26 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
{
"name": "@electionguard/api-client",
"version": "0.1.2",
"description": "API client for electionguard-api-python",
"author": "electionguard",
"license": "MIT",
"repository": "microsoft/electionguard-ui",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": "./dist/index.modern.js",
"source": "src/index.ts",
"engines": {
"node": ">=10"
},
"scripts": {
"build": "npm run bundle",
"start": "npm run bundle watch --no-compress",
"pretest": "move-file tsconfig.json tsconfig.json.bak && move-file tsconfig.test.json tsconfig.json",
"test": "react-scripts test --watchAll=false",
"posttest": "move-file tsconfig.json tsconfig.test.json && move-file tsconfig.json.bak tsconfig.json",
"bundle": "microbundle --jsx react --jsxImportSource react --globals react/jsx-runtime=jsx --format modern,cjs",
"lint": "npm run eslint",
"lint:fix": "npm run eslint --fix && npm run prettier --write",
"eslint": "eslint ./src --ext .js,.jsx,.ts,.tsx",
"prettier": "prettier --check '{src,public}/**/*.{js,jsx,ts,tsx,css,html,svg}'",
"npm-publish": "npm publish --access public",
"npm-version-patch": "npm version patch",
"npm-version-minor": "npm version minor",
"nswag-generate": "nswag run src/nswag/nswag.json"
},
"peerDependencies": {
"react": "17.0.2",
"react-query": "^3.23.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.15.1",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^7.2.1",
"@types/jest": "^27.0.3",
"@types/node": "^12.12.38",
"@types/react": "^16.9.27",
"@types/react-dom": "^16.9.7",
"babel-loader": "8.1.0",
"microbundle": "^0.13.3",
"move-file-cli": "^3.0.0",
"nswag": "^13.15.5",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-scripts": "^5.0.0",
"typescript": "^4.3.5"
},
"files": [
"/dist",
"/README.md"
],
"publishConfig": {
"access": "public",
"directory": "dist",
"registry": "https://registry.npmjs.org"
},
"gitHead": "d7af616d24e379e54f9dd50c84bf27691667a444"
}