-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
147 lines (147 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
{
"name": "nass-plugin",
"version": "0.1.0",
"description": "Concord Consortium NASS 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)$": "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 -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 --passWithNoTests",
"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/nass-plugin.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.1",
"@cypress/code-coverage": "^3.10.0",
"@cypress/webpack-preprocessor": "^5.12.0",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@jsdevtools/coverage-istanbul-loader": "^3.0.5",
"@svgr/webpack": "^6.2.1",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^12.1.5",
"@testing-library/react-hooks": "^8.0.1",
"@types/jest": "^28.1.5",
"@types/react": "^17.0.47",
"@types/react-dom": "^17.0.17",
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1",
"autoprefixer": "^10.4.7",
"caniuse-lite": "^1.0.30001388",
"clean-webpack-plugin": "^4.0.0",
"cross-env": "^7.0.3",
"css-loader": "^6.7.1",
"cypress": "^10.8.0",
"eslint": "^8.19.0",
"eslint-config-react": "^1.1.7",
"eslint-import-resolver-typescript": "^3.5.0",
"eslint-plugin-chai-friendly": "^0.7.2",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.5.3",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-testing-library": "^5.5.1",
"eslint-webpack-plugin": "^3.2.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0",
"identity-obj-proxy": "^3.0.0",
"istanbul-lib-coverage": "^3.2.0",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"mini-css-extract-plugin": "^2.6.1",
"npm-run-all": "^4.1.5",
"postcss-loader": "^7.0.1",
"sass": "^1.54.8",
"sass-loader": "^13.0.2",
"script-loader": "^0.7.2",
"style-loader": "^3.3.1",
"ts-jest": "^28.0.8",
"ts-loader": "^9.3.1",
"ts-node": "^10.9.1",
"typescript": "^4.8.2",
"wait-on": "^6.0.1",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.10.1"
},
"dependencies": {
"@dnd-kit/core": "^6.0.8",
"@dnd-kit/sortable": "^7.0.2",
"@dnd-kit/utilities": "^3.2.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"axios": "^1.5.0",
"classnames": "^2.3.2",
"fetch-jsonp": "^1.3.0",
"iframe-phone": "^1.3.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"tslib": "^2.4.0"
}
}