61 lines
2.0 KiB
JSON
61 lines
2.0 KiB
JSON
{
|
|
"name": "@status-waku-voting/example",
|
|
"version": "0.1.0",
|
|
"main": "index.js",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"clean:all": "yarn clean && rimraf node_modules/",
|
|
"clean": "rimraf dist/",
|
|
"build": "rm -rf dist && webpack --mode=production --env ENV=production",
|
|
"start": "webpack serve --mode=development --env ENV=development --https",
|
|
"test": "mocha -r jsdom-global/register",
|
|
"lint": "yarn lint:prettier --check && yarn lint:eslint",
|
|
"lint:fix": "yarn lint:prettier --write && yarn lint:eslint --fix",
|
|
"lint:eslint": "eslint './{src,test}/**/*.{ts,tsx}'",
|
|
"lint:prettier": "yarn prettier './{src,test}/**/*.{ts,tsx}'"
|
|
},
|
|
"dependencies": {
|
|
"@status-waku-voting/polling-page": "^0.1.0",
|
|
"@status-waku-voting/proposal-page": "^0.1.0",
|
|
"assert": "^2.0.0",
|
|
"buffer": "^6.0.3",
|
|
"crypto-browserify": "^3.12.0",
|
|
"prettier": "^2.3.2",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"react-router-dom": "^5.2.0",
|
|
"stream-browserify": "^3.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/react-hooks": "^7.0.1",
|
|
"@types/chai": "^4.2.21",
|
|
"@types/mocha": "^9.0.0",
|
|
"@types/node": "^16.4.12",
|
|
"@types/react": "^17.0.15",
|
|
"@types/react-dom": "^17.0.9",
|
|
"@types/react-router": "^5.1.16",
|
|
"@types/react-router-dom": "^5.1.8",
|
|
"@types/styled-components": "^5.1.12",
|
|
"@typescript-eslint/eslint-plugin": "^4.29.0",
|
|
"@typescript-eslint/parser": "^4.29.0",
|
|
"chai": "^4.3.4",
|
|
"esbuild-loader": "^2.15.1",
|
|
"eslint": "^7.32.0",
|
|
"eslint-plugin-hooks": "^0.2.0",
|
|
"eslint-plugin-react": "^7.24.0",
|
|
"file-loader": "^6.2.0",
|
|
"fork-ts-checker-webpack-plugin": "^6.3.1",
|
|
"html-webpack-plugin": "^5.3.2",
|
|
"jsdom": "^16.7.0",
|
|
"jsdom-global": "^3.0.2",
|
|
"mocha": "^9.0.3",
|
|
"source-map-loader": "^3.0.0",
|
|
"ts-loader": "^9.2.5",
|
|
"ts-node": "^10.1.0",
|
|
"typescript": "^4.3.5",
|
|
"webpack": "^5.48.0",
|
|
"webpack-cli": "^4.7.2",
|
|
"webpack-dev-server": "^3.11.2"
|
|
}
|
|
}
|