-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
135 lines (135 loc) · 4.12 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"scripts": {
"start": "cd doenet_docker && docker-compose up -d && cd .. && snowpack build --config snowpack.config.js",
"docker:build": "cd doenet_docker && docker-compose build",
"dev": "snowpack dev --config snowpack.config.js",
"hot": "snowpack dev --config snowpack.config.js",
"clean": "snowpack --reload --config snowpack.config.js",
"build": "snowpack build --config snowpack.deploy.config.js",
"build:core": "node package.core.js",
"deploy": "snowpack build --config snowpack.deploy.config.js",
"test": "cypress open",
"test:all": "cypress run -b 'chrome' --config video=false --headless",
"publish_db": "cd doenet_docker && docker-compose up -d mysql && docker exec --privileged -w /var/lib/mysql doenet_docker_mysql_1 mysqldump --databases --add-drop-database --add-drop-table -u root -phelloworld doenet_local > ./volumes/db_init/db_template.sql",
"reset_db": "docker exec -i doenet_docker_mysql_1 sh -c 'mysql -u root -phelloworld doenet_local' < ./doenet_docker/volumes/db_init/db_template.sql",
"format": "prettier --write \"src/**/*.{js,jsx}\"",
"lint": "prettier --check \"src/**/*.{js,jsx}\""
},
"dependencies": {
"@blueprintjs/core": "^3.39.0",
"@blueprintjs/datetime": "^3.20.5",
"@fortawesome/fontawesome-svg-core": "^1.2.32",
"@fortawesome/free-regular-svg-icons": "^5.15.2",
"@fortawesome/free-solid-svg-icons": "^5.15.2",
"@fortawesome/react-fontawesome": "^0.1.14",
"@handsontable/react": "^5.0.0",
"axios": "^0.21.1",
"codemirror": "^5.60.0",
"compromise": "^13.10.6",
"compromise-numbers": "^1.2.0",
"crypto-js": "^4.0.0",
"cssesc": "^3.0.0",
"csv-parse": "^4.15.3",
"handsontable": "^8.3.2",
"js-cookie": "^2.2.1",
"math-expressions": "^2.0.0-alpha26",
"mersenne-twister": "^1.1.0",
"nanoid": "^3.1.22",
"react": "^16.14.0",
"react-codemirror2": "^7.2.1",
"react-dom": "^16.14.0",
"react-dropzone": "^11.3.1",
"react-is": "^17.0.1",
"react-mathjax2": "0.0.2",
"react-mathquill": "^1.0.1",
"react-measure": "^2.5.2",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-spring": "npm:@react-spring/web@^9.1.1",
"react-table": "^7.6.3",
"react-use-gesture": "^9.1.3",
"react-visibility-sensor": "^5.1.1",
"recoil": "^0.2.0",
"styled-components": "^5.2.3"
},
"devDependencies": {
"@snowpack/plugin-dotenv": "^2.1.0",
"@snowpack/plugin-react-refresh": "^2.4.2",
"@snowpack/web-test-runner-plugin": "^0.2.0",
"@testing-library/react": "^11.2.6",
"@web/test-runner": "^0.12.19",
"chai": "^4.2.0",
"cypress": "^7.2.0",
"esbuild": "^0.9.7",
"eslint": "^7.24.0",
"eslint-config-prettier": "^8.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.23.2",
"eslint-plugin-react-hooks": "^4.2.0",
"http-proxy": "^1.18.1",
"prettier": "^2.0.5",
"snowpack": "^3.0.13",
"snowpack-plugin-raw-file-loader": "^1.0.9"
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:react/recommended",
"plugin:jsx-a11y/recommended",
"prettier"
],
"rules": {
"linebreak-style": [
"error",
"unix"
],
"react/prop-types": "off",
"no-console": "warn",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": [
"warn",
{
"additionalHooks": "useRecoilCallback"
}
]
},
"plugins": [
"react",
"import",
"jsx-a11y",
"react-hooks"
],
"parserOptions": {
"ecmaVersion": 11,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"browser": true,
"es2020": true,
"node": true
},
"settings": {
"import/resolver": {
"node": {
"paths": [
"src"
],
"extensions": [
".js",
".jsx",
".ts",
".tsx"
]
}
},
"react": {
"version": "detect"
}
}
}
}