@selfcommunity/utils
Version:
Utilities to integrate a Community.
105 lines (104 loc) • 3.23 kB
JSON
{
"name": "@selfcommunity/utils",
"version": "0.2.64-alpha.1",
"license": "MIT",
"private": false,
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"exports": {
".": {
"require": "./lib/cjs/index.js",
"import": "./lib/esm/index.js"
},
"./*": {
"require": "./lib/cjs/*",
"import": "./lib/esm/*"
}
},
"sideEffects": false,
"description": "Utilities to integrate a Community.",
"author": "SelfCommunity <https://www.selfcommunity.com>",
"keywords": [
"react",
"utils",
"community",
"selfcommunity",
"community-utils"
],
"scripts": {
"prepare": "install-peers -f",
"install-peers": "install-peers -f",
"test": "npm run lint && npm run test-only",
"test-only": "jest --runInBand",
"tdd": "jest --watch --runInBand",
"lint": "eslint ./src test --ext .ts,.tsx,.js",
"prettier": "prettier './**/*.js' './**/*.css' './**/*.md' --write",
"prettier-list-different": "prettier './**/*.js' './**/*.css' './**/*.md' --list-different",
"clean:lib": "rimraf lib",
"clean:node_modules": "rimraf node_modules",
"build:commonjs": "tsc -b tsconfig-cjs.build.json",
"build:esm": "tsc -b tsconfig-esm.build.json",
"build:umd": "webpack --mode production",
"build:umd:analyze": "webpack --mode production --profile --json > ./lib/umd/stats.json && webpack-bundle-analyzer ./lib/umd/stats.json",
"build": "yarn clean:lib && yarn build:commonjs && yarn build:esm && yarn build:umd",
"prerelease": "yarn run clean:lib && yarn run build"
},
"homepage": "https://www.selfcommunity.com",
"files": [
"lib"
],
"repository": {
"type": "git",
"url": "https://github.com/selfcommunity/community-js/tree/main/packages/utils"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@types/chai": "^4.2.14",
"@types/enzyme": "^3.10.8",
"@types/jest": "^26.0.20",
"@types/react": "17 || 18",
"@types/react-dom": "17 || 18",
"@types/sinon": "^9.0.10",
"@typescript-eslint/eslint-plugin": "^4.14.2",
"@typescript-eslint/parser": "^4.14.2",
"babel-jest": "^26.6.3",
"chai": "^4.2.0",
"cherry-pick": "^0.5.0",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.15.6",
"eslint": "^7.19.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-mocha": "^8.0.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"faker": "^5.3.1",
"install-peers-cli": "^2.2.0",
"jest": "^26.6.3",
"lodash": "^4.17.15",
"postcss": "^8.2.4",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"sass": "^1.32.6",
"sinon": "^9.2.4",
"tslib": "^2.6.2",
"typescript": "^4.1.3",
"webpack": "^5.20.1",
"webpack-bundle-analyzer": "^4.9.0",
"webpack-cli": "^4.5.0"
},
"prettier": {
"printWidth": 150,
"bracketSpacing": false,
"trailingComma": "none",
"singleQuote": true,
"bracketSameLine": true
},
"bugs": {
"url": "https://github.com/selfcommunity/community-js/issues"
},
"gitHead": "d1e76de34050080cff753b4419d7c8b85d31c75d"
}