forked from dfinity/internet-identity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 3.07 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
{
"name": "@dfinity/internet-identity",
"version": "0.1.0",
"type": "module",
"description": "",
"keywords": [],
"scripts": {
"opts": "NODE_OPTIONS='--loader ts-node/esm --experimental-specifier-resolution=node' \"$@\"",
"start": "II_FETCH_ROOT_KEY=1 npm run opts -- webpack serve --config-name app",
"generate": "npm run generate:types && npm run generate:js",
"generate:types": "didc bind ./src/internet_identity/internet_identity.did -t ts > src/frontend/generated/internet_identity_types.d.ts",
"generate:js": "didc bind ./src/internet_identity/internet_identity.did -t js > src/frontend/generated/internet_identity_idl.js",
"build": "NODE_ENV=production npm run opts -- webpack --config-name app",
"build:showcase": "npm run opts -- webpack --config-name showcase",
"showcase": "II_FETCH_ROOT_KEY=1 npm run opts -- webpack serve --config-name showcase",
"screenshots": "npm run opts -- ./src/frontend/screenshots.ts",
"test": "jest --maxWorkers 1 --roots ./src/frontend --verbose --testPathIgnorePatterns=\"src/frontend/src/test-e2e\"",
"test:e2e": "jest --roots ./src/frontend --verbose --testPathPattern=\"src/frontend/src/test-e2e\"",
"test:e2e-desktop": "SCREEN=desktop npm run test:e2e",
"test:e2e-mobile": "SCREEN=mobile npm run test:e2e",
"lint": "eslint --max-warnings 0 --cache --cache-location node_modules/.cache/eslint 'src/frontend/**/*.ts*'",
"format": "prettier --write src/frontend tsconfig.json .eslintrc.json webpack.config.ts jest.config.ts",
"format-check": "prettier --check src/frontend tsconfig.json .eslintrc.json webpack.config.ts jest.config.ts"
},
"devDependencies": {
"@lit-labs/ssr": "^2.2.3",
"@testing-library/jest-dom": "^5.16.5",
"@trust/webcrypto": "^0.9.2",
"@types/jest": "~29",
"@types/selenium-standalone": "^7.0.1",
"@types/text-encoding": "^0.0.36",
"@typescript-eslint/eslint-plugin": "5.45.1",
"@typescript-eslint/parser": "5.45.1",
"assert": "2.0.0",
"buffer": "6.0.3",
"compression-webpack-plugin": "~10",
"copy-webpack-plugin": "~11",
"css-loader": "^6.2.0",
"css-minimizer-webpack-plugin": "^4.1.0",
"dotenv": "^10.0.0",
"eslint": "8.29.0",
"events": "3.3.0",
"extract-zip": "^2.0.1",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.3.2",
"jest": "~29",
"jest-cli": "~29",
"jest-environment-jsdom": "~29",
"mini-css-extract-plugin": "^2.6.1",
"prettier": "2.8.0",
"process": "0.11.10",
"stream-browserify": "3.0.0",
"style-loader": "^3.2.1",
"ts-jest": "~29",
"ts-loader": "9.4.1",
"ts-node": "^10.8.1",
"typescript": "4.9",
"url-loader": "^4.1.1",
"util": "0.12.4",
"webdriverio": "7.25.1",
"webpack": "5.45.1",
"webpack-cli": "~5",
"webpack-dev-server": "~4"
},
"dependencies": {
"@dfinity/agent": "0.10.2",
"@dfinity/candid": "0.10.2",
"@dfinity/identity": "0.10.2",
"@dfinity/principal": "0.10.2",
"biguintle": "^1.0.3",
"bip39": "^3.0.4",
"kjua": "^0.9.0",
"lit-html": "^2.3.1",
"text-encoding": "^0.7.0"
}
}