-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
150 lines (150 loc) · 5.42 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
149
150
{
"name": "nasa-codap-plugin",
"version": "1.1.0",
"description": "Concord Consortium Starter CODAP Plugin",
"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"
},
"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|scss)$": "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",
"strings:pull": "node bin/pull-strings.js --prefix=DG.plugin --out=./src/strings.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/concord-consortium/starter-projects.git"
},
"author": "Concord Consortium",
"license": "MIT",
"bugs": {
"url": "https://github.com/concord-consortium/starter-projects/issues"
},
"homepage": "https://github.com/concord-consortium/starter-projects#readme",
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"all": true,
"report-dir": "coverage-cypress"
},
"devDependencies": {
"@concord-consortium/codap-plugin-api": "^0.1.8",
"@cypress/code-coverage": "^3.12.44",
"@cypress/webpack-preprocessor": "^6.0.2",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@jsdevtools/coverage-istanbul-loader": "^3.0.5",
"@svgr/webpack": "^8.1.0",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^14.3.1",
"@types/jest": "^29.5.12",
"@types/jquery": "^3.5.30",
"@types/react": "^18.2.7",
"@types/react-dom": "^18.2.4",
"@types/three": "^0.167.1",
"@typescript-eslint/eslint-plugin": "^8.0.1",
"@typescript-eslint/parser": "^8.0.1",
"autoprefixer": "^10.4.20",
"caniuse-lite": "^1.0.30001489",
"clean-webpack-plugin": "^4.0.0",
"cross-env": "^7.0.3",
"css-loader": "^6.8.1",
"cypress": "^12.13.0",
"eslint": "^8.57.0",
"eslint-config-react": "^1.1.7",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-chai-friendly": "^0.8.0",
"eslint-plugin-cypress": "^2.15.2",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^28.7.0",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-react": "^7.35.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-testing-library": "^5.11.1",
"eslint-webpack-plugin": "^4.2.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.6.0",
"identity-obj-proxy": "^3.0.0",
"iframe-phone": "^1.3.1",
"istanbul-lib-coverage": "^3.2.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"mini-css-extract-plugin": "^2.9.0",
"npm-run-all": "^4.1.5",
"postcss-loader": "^7.3.4",
"sass": "^1.77.8",
"sass-loader": "^13.3.3",
"script-loader": "^0.7.2",
"style-loader": "^3.3.4",
"ts-jest": "^29.2.4",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"typescript": "^5.5.4",
"wait-on": "^7.2.0",
"webpack": "^5.93.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.2"
},
"dependencies": {
"@types/tz-lookup": "^6.1.2",
"astronomy-engine": "^2.1.19",
"clsx": "^2.1.1",
"dayjs": "^1.11.12",
"eventemitter2": "^6.4.9",
"jquery": "^3.7.1",
"jquery-ui": "^1.14.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sunrise-sunset-js": "^2.2.1",
"three": "^0.167.1",
"tslib": "^2.5.2",
"tz-lookup": "^6.1.25"
}
}