sigma
Version:
A JavaScript library dedicated to graph drawing.
117 lines (116 loc) • 3.7 kB
JSON
{
"name": "sigma",
"version": "2.0.0-beta5",
"description": "A JavaScript library dedicated to graph drawing.",
"homepage": "http://sigmajs.org",
"bugs": "http://github.com/jacomyal/sigma.js/issues",
"main": "index.js",
"scripts": {
"build": "webpack --progress && webpack --progress --mode production",
"clean": "rimraf $npm_package_config_clean",
"transpile": "tsc -p ./tsconfig.transpile.json -d && replace '\\.glsl' '.glsl.js' rendering -r && webpack --config ./webpack.programs.config.js",
"examples": "webpack serve --config ./examples/webpack.config.js --progress",
"gitignore": "jq -r '.sigma.clean' package.json | tr ' ' '\\n' >> .gitignore",
"lint": "eslint $npm_package_config_folders --ext .ts",
"postpublish": "npm run clean",
"prettier": "prettier --write $npm_package_config_folders",
"prepublish": "npm run lint && npm run test && npm run clean && npm run transpile && npm run build",
"prepublishOnly": "npm run prepublish",
"test": "mocha --require ts-node/register ./test/unit/**/*.ts",
"e2e:test": "mocha --require ts-node/register ./test/e2e/**/*.spec.ts --exit",
"e2e:generate": "node -r ts-node/register test/e2e/generate.ts"
},
"config": {
"clean": "core rendering utils index.js index.d.ts settings.js settings.d.ts sigma.js sigma.d.ts types.js types.d.ts",
"folders": "examples src test"
},
"repository": {
"type": "git",
"url": "http://github.com/jacomyal/sigma.js.git"
},
"contributors": [
{
"name": "Alexis Jacomy",
"url": "http://github.com/jacomyal"
},
{
"name": "Guillaume Plique",
"url": "http://github.com/Yomguithereal"
},
{
"name": "Benoît Simard",
"url": "http://github.com/sim51"
}
],
"license": "MIT",
"dependencies": {
"@yomguithereal/helpers": "^1.1.1",
"events": "^3.3.0",
"graphology-metrics": "1.14.2",
"graphology-utils": "^2.0.0"
},
"devDependencies": {
"@babel/core": "^7.13.16",
"@types/chroma-js": "^2.1.3",
"@types/d3-scale": "^3.2.2",
"@types/mocha": "^8.2.2",
"@types/pixelmatch": "^5.2.3",
"@types/pngjs": "^6.0.0",
"@types/puppeteer": "^5.4.3",
"@types/webpack-dev-server": "^3.11.3",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.2",
"chroma-js": "^2.1.1",
"d3-scale": "^3.3.0",
"eslint": "^7.25.0",
"glob": "^7.1.6",
"graphology": "^0.19.3",
"graphology-communities-louvain": "^1.4.1",
"graphology-components": "^1.1.0",
"graphology-generators": "^0.11.0",
"graphology-gexf": "^0.7.5",
"graphology-layout": "0.4.0",
"graphology-layout-forceatlas2": "^0.6.0",
"graphology-layout-noverlap": "0.3.0",
"graphology-types": "^0.19.2",
"html-webpack-plugin": "^4.5.2",
"mocha": "^8.3.2",
"pandemonium": "^2.0.0",
"pixelmatch": "^5.2.1",
"pngjs": "^6.0.0",
"prettier": "^2.2.1",
"puppeteer": "^5.5.0",
"raw-loader": "^4.0.2",
"replace": "^1.2.1",
"rimraf": "^3.0.2",
"simple-statistics": "^7.7.0",
"ts-loader": "^9.1.1",
"ts-node": "^9.1.1",
"typescript": "^4.2.4",
"webpack": "^5.36.0",
"webpack-cli": "^4.6.0",
"webpack-dev-server": "^3.11.2"
},
"keywords": [
"graph",
"graphology",
"renderer",
"sigma",
"canvas",
"webgl"
],
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"plugin:@typescript-eslint/recommended"
],
"rules": {
"@typescript-eslint/camelcase": "off"
}
}
}