-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·171 lines (171 loc) · 5.2 KB
/
package.json
File metadata and controls
executable file
·171 lines (171 loc) · 5.2 KB
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
{
"name": "ontology-visualisation",
"version": "1.0.0",
"description": "Ontology visualisation",
"main": "",
"repository": {
"type": "git",
"url": "https://github.com/hyperlearningai/ontology-framework.git"
},
"scripts": {
"test": "jest --no-cache --updateSnapshot",
"test:coverage": "npm run test -- --coverage",
"test:watch": "npm run test -- --watch",
"lint": "eslint --ext .js src/ .*.js",
"lint:watch": "npm run lint -- --watch",
"lint:fix": "npm run lint -- --fix",
"lint:style": "npm run stylelint src/styles/*.scss",
"lint:commitmsg:ci": "echo $CI_COMMIT_MESSAGE | npm run commitlint",
"dev": "next",
"build": "next build && next export",
"start": "next start",
"audit": "npm audit",
"build-docs": "jsdoc src/utils/*.js -d docs",
"test:e2e:open": "cypress open",
"cy:run:coverage": "cypress run",
"cy:run": "cypress run --env coverage=false",
"test:e2e:run:coverage": "start-server-and-test start 3000 cy:run:coverage",
"test:e2e:run": "START_SERVER_AND_TEST_INSECURE=1 start-server-and-test start 3000 cy:run",
"rebuild-sass": "npm rebuild node-sass",
"mkdir:reports": "mkdir reports || true",
"precopy:reports": "npm run mkdir:reports",
"copy:reports": "cp cypress-coverage/coverage-final.json reports/from-cypress.json && cp jest-coverage/coverage-final.json reports/from-jest.json",
"precombine:reports": "npm run copy:reports && mkdir .nyc_output || true",
"combine:reports": "npx nyc merge reports && mv coverage.json .nyc_output/out.json",
"prereport:combined": "npm run combine:reports",
"report:combined": "npx nyc report --reporter lcov --reporter text --report-dir coverage"
},
"author": "@chriscarex",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/eslint-parser": "^7.12.1",
"@babel/plugin-proposal-throw-expressions": "^7.10.4",
"@babel/plugin-transform-react-jsx": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.10.5",
"@babel/preset-env": "^7.10.4",
"@babel/register": "^7.10.5",
"@cypress/code-coverage": "^3.9.4",
"@testing-library/dom": "^7.29.2",
"@testing-library/jest-dom": "^5.11.1",
"@wojtekmaj/enzyme-adapter-react-17": "^0.4.1",
"babel-jest": "^26.3.0",
"browserslist": "^4.16.1",
"check-code-coverage": "^1.10.0",
"cypress": "^7.2.0",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.5.0",
"eslint": "^7.17.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-formatter-gitlab": "^2.0.0",
"eslint-plugin-cypress": "^2.11.2",
"eslint-plugin-html": "^6.0.3",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.20.5",
"eslint-plugin-react-hooks": "^4.0.8",
"eslint-plugin-security": "^1.4.0",
"husky": "^4.3.7",
"jest": "^26.3.0",
"jest-canvas-mock": "^2.3.0",
"jest-junit": "^11.1.0",
"jsdoc": "^3.6.6",
"jsdom": "^16.4.0",
"sass-loader": "^10.1.1",
"start-server-and-test": "^1.12.0",
"stylelint": "^13.6.1",
"stylelint-config-standard": "^20.0.0",
"webpack": "^4.44.2",
"webpack-node-externals": "^2.5.2"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm run test"
}
},
"browserslist": {
"dev": [
"last 1 Chrome version",
"Explorer 11"
],
"test": [
"last 1 Chrome version",
"Explorer 11"
],
"production": [
"last 1 Chrome version",
"Explorer 11",
"last 1 iOS version",
"last 1 Edge version"
],
"longtail": [
"last 1 Chrome version",
"Explorer 11",
"last 1 iOS version",
"last 1 Edge version",
"last 1 Samsung version",
"last 1 Android version",
"last 1 Firefox version",
"last 1 Baidu version"
]
},
"dependencies": {
"axios": "^0.21.1",
"flatted": "^3.1.1",
"i18next": "^19.8.4",
"i18next-browser-languagedetector": "^6.0.1",
"i18next-xhr-backend": "^3.2.2",
"jspdf": "^2.2.0",
"jszip": "^3.5.0",
"lodash": "^4.17.20",
"murmurhash-js": "^1.0.0",
"next": "^10.0.5",
"next-compose-plugins": "^2.2.1",
"next-images": "^1.6.2",
"next-img": "^0.3.2",
"node-sass": "^4.14.1",
"papaparse": "^5.3.0",
"primeflex": "^2.0.0",
"primeicons": "^4.1.0",
"primereact": "^6.2.1",
"print-js": "^1.6.0",
"prismjs": "^1.23.0",
"prop-types": "^15.7.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-i18next": "^11.8.5",
"react-icons": "^4.1.0",
"react-joyride": "^2.3.0",
"react-json-view": "^1.20.4",
"react-notifications-component": "^3.0.3",
"react-simple-code-editor": "^0.11.0",
"react-transition-group": "^4.4.1",
"redux-zero": "^5.1.7",
"serverless": "^2.31.0",
"tailwindcss": "^2.1.2",
"uuid": "^8.3.2",
"vis-data": "^7.1.1",
"vis-network": "^8.5.6",
"vis-util": "^4.3.4"
},
"jest-junit": {
"outputDirectory": "test/test_reports",
"outputName": "jest-junit.xml"
},
"nyc": {
"report-dir": "cypress-coverage",
"reporter": [
"text",
"json",
"lcov"
],
"all": true,
"include": [
"src/**/*.js"
],
"exclude": [
"**/*.test.js",
"**/*.spec.js"
]
}
}