39 lines
1.2 KiB
JSON
39 lines
1.2 KiB
JSON
{
|
|
"name": "@status-waku-voting/react-components",
|
|
"main": "dist/cjs/src/index.js",
|
|
"module": "dist/esm/src/index.js",
|
|
"types": "dist/esm/src/index.d.ts",
|
|
"version": "1.0.0",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"build": "yarn run build:esm && yarn run build:cjs",
|
|
"build:esm": "tsc --module es2020 --target es2017 --outDir dist/esm",
|
|
"build:cjs": "tsc --outDir dist/cjs",
|
|
"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/core": "link:../core",
|
|
"react": "^17.0.2",
|
|
"react-components": "^0.5.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/chai": "^4.2.21",
|
|
"@types/mocha": "^9.0.0",
|
|
"@types/react": "^17.0.16",
|
|
"@types/styled-components": "^5.1.12",
|
|
"@typescript-eslint/eslint-plugin": "^4.29.0",
|
|
"@typescript-eslint/parser": "^4.29.0",
|
|
"chai": "^4.3.4",
|
|
"eslint": "^7.32.0",
|
|
"jsdom": "^16.7.0",
|
|
"jsdom-global": "^3.0.2",
|
|
"mocha": "^9.0.3",
|
|
"ts-node": "^10.1.0",
|
|
"typescript": "^4.3.5"
|
|
}
|
|
}
|