-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
148 lines (148 loc) · 5.32 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
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"name": "codap-shared-table-plugin",
"version": "0.2.0",
"description": "CODAP plugin that implements collaborative table sharing",
"main": "index.js",
"browserslist": "> 0.2%, last 5 versions, Firefox ESR, not dead, not ie > 0",
"jest": {
"preset": "ts-jest/presets/js-with-ts",
"setupFilesAfterEnv": [
"<rootDir>/src/test/setupTests.ts"
],
"testEnvironment": "jsdom",
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"transformIgnorePatterns": [
"/node_modules/(?!p-debounce)"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"testPathIgnorePatterns": [
"/node_modules/",
"/cypress/"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"src/utilities/test-utils.ts"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|less|sass)$": "identity-obj-proxy"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
]
},
"scripts": {
"start": "webpack serve --no-https",
"start:secure": "webpack serve",
"start:secure:no-certs": "webpack serve --no-https-request-cert",
"build": "npm-run-all lint:build build:webpack",
"build:webpack": "webpack --mode production",
"build:top-test": "cross-env DEPLOY_PATH=specific/release/ webpack --mode production --output-path top-test/specific/release && cp top-test/specific/release/index-top.html top-test/",
"lint": "eslint \"./src/**/*.{js,jsx,ts,tsx}\" \"./cypress/**/*.{js,jsx,ts,tsx}\"",
"lint:build": "eslint -c \".eslintrc.build.js\" \"./src/**/*.{js,jsx,ts,tsx}\" \"./cypress/**/*.{js,jsx,ts,tsx}\"",
"lint:fix": "eslint --fix \"./src/**/*.{js,jsx,ts,tsx}\" \"./cypress/**/*.{js,jsx,ts,tsx}\"",
"lint:style": "eslint -c \".eslintrc.style.js\" \"./src/**/*.{js,jsx,ts,tsx}\" \"./cypress/**/*.{js,jsx,ts,tsx}\"",
"lint:style:fix": "eslint --fix -c \".eslintrc.style.js\" \"./src/**/*.{js,jsx,ts,tsx}\" \"./cypress/**/*.{js,jsx,ts,tsx}\"",
"serve:top-test": "npx http-server top-test",
"test": "jest",
"test:all": "npm-run-all build test start",
"test:coverage": "jest --coverage",
"test:debug": "node --nolazy --inspect-brk ./node_modules/.bin/jest --runInBand --no-cache",
"test:watch": "jest --watch",
"test:coverage:watch": "jest --coverage --watchAll",
"test:cypress": "cypress run",
"test:cypress:open": "cypress open",
"test:coverage:cypress:open": "cypress open --env coverage=true",
"test:full": "npm-run-all test test:cypress"
},
"repository": {
"type": "git",
"url": "git+https://github.com/concord-consortium/codap-shared-table-plugin.git"
},
"author": "Concord Consortium",
"license": "MIT",
"bugs": {
"url": "https://github.com/concord-consortium/codap-shared-table-plugin/issues"
},
"homepage": "https://github.com/concord-consortium/codap-shared-table-plugin#readme",
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"all": true,
"report-dir": "coverage-cypress"
},
"devDependencies": {
"@cypress/code-coverage": "^3.12.11",
"@cypress/webpack-preprocessor": "^6.0.0",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@jsdevtools/coverage-istanbul-loader": "^3.0.5",
"@svgr/webpack": "^8.1.0",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.1.2",
"@types/cypress": "^1.1.3",
"@types/jest": "^29.5.10",
"@types/node": "^20.14.14",
"@types/react": "^18.2.38",
"@types/react-dom": "^18.2.17",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"autoprefixer": "^10.4.16",
"caniuse-lite": "^1.0.30001565",
"clean-webpack-plugin": "^4.0.0",
"cross-env": "^7.0.3",
"css-loader": "^6.8.1",
"cypress": "^13.13.2",
"eslint": "^8.54.0",
"eslint-config-react": "^1.1.7",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-chai-friendly": "^0.7.2",
"eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jest": "^27.6.0",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-testing-library": "^6.2.0",
"eslint-webpack-plugin": "^4.0.1",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.3",
"identity-obj-proxy": "^3.0.0",
"istanbul-lib-coverage": "^3.2.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"mini-css-extract-plugin": "^2.7.6",
"npm-audit-resolver": "^2.3.1",
"npm-run-all": "^4.1.5",
"postcss-loader": "^7.3.3",
"sass": "^1.69.5",
"sass-loader": "^13.3.2",
"script-loader": "^0.7.2",
"style-loader": "^3.3.3",
"ts-jest": "^29.1.1",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.1",
"tslint": "^6.1.3",
"tslint-react": "^5.0.0",
"typescript": "^5.3.2",
"wait-on": "^7.2.0",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"
},
"dependencies": {
"firebase": "^7.24.0",
"iframe-phone": "^1.3.1",
"p-debounce": "^4.0.0",
"randomatic": "^3.1.1",
"react": "^18.0.0",
"react-dom": "^18.2.0",
"react-scripts": "^3.0.1",
"tslib": "^2.6.2"
}
}