forked from jacomyal/sigma.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
120 lines (120 loc) · 4.05 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "sigma",
"version": "2.3.0",
"description": "A JavaScript library aimed at visualizing graphs of thousands of nodes and edges.",
"homepage": "https://www.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",
"lint": "eslint $npm_package_config_folders --ext .ts",
"postpublish": "npm run clean",
"prettier": "prettier --write $npm_package_config_folders",
"prepare": "npm run clean && npm run transpile && npm run build && npm run examples:prepare && npm run demo:prepare",
"prepublishOnly": "npm run lint && npm test",
"reinstall": "rimraf examples/node_modules && rimraf demo/node_modules && rimraf node_modules && npm i && npm run clean",
"test": "npm run unit:test && npm run e2e:test",
"unit:test": "mocha --require ts-node/register ./test/unit/**/*.ts",
"e2e:test": "mocha --require ts-node/register ./test/e2e/**/*.spec.ts",
"e2e:generate": "node -r ts-node/register test/e2e/generate.ts",
"examples:prepare": "cd examples && npm install",
"examples:build": "cd examples && npm run build",
"doc:build": "typedoc",
"demo:prepare": "cd demo && npm install",
"demo:start": "cd demo && npm run start",
"demo:build": "cd demo && npm run build",
"website:prepare": "rm -Rf website/demo && npm run demo:prepare",
"website:build": "npm run demo:build && cp -R demo/build website/demo && npm run examples:build && cp -R examples/build website/examples && npm run doc:build",
"website:all": "npm run website:prepare && npm run website:build",
"website:watch": "cd website && npx reload"
},
"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-utils": "^2.5.0"
},
"devDependencies": {
"@babel/core": "^7.16.5",
"@types/chai": "^4.3.0",
"@types/mocha": "^9.0.0",
"@types/pixelmatch": "^5.2.4",
"@types/pngjs": "^6.0.1",
"@types/tapable": "^2.2.2",
"@types/webpack-dev-server": "^4.5.0",
"@typescript-eslint/eslint-plugin": "^5.7.0",
"@typescript-eslint/parser": "^5.7.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.3",
"chai": "^4.3.4",
"eslint": "^8.5.0",
"glob": "^7.2.0",
"graphology": "^0.23.2",
"graphology-generators": "^0.11.2",
"graphology-layout": "^0.5.0",
"graphology-types": "^0.23.0",
"html-webpack-plugin": "^5.5.0",
"mocha": "^9.1.3",
"pandemonium": "^2.3.0",
"pixelmatch": "^5.2.1",
"pngjs": "^6.0.0",
"prettier": "^2.5.1",
"puppeteer": "^10.4.0",
"raw-loader": "^4.0.2",
"reload": "^3.2.0",
"replace": "^1.2.1",
"rimraf": "^3.0.2",
"ts-loader": "^9.2.6",
"ts-node": "^10.4.0",
"typedoc": "^0.22.10",
"typescript": "^4.5.4",
"webpack": "^5.65.0",
"webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.6.0"
},
"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",
"@typescript-eslint/no-empty-interface": "off"
}
}
}