scratch-paint 0.2.0-prerelease.20220401105006 → 0.2.0-prerelease.20220401191745
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.circleci/config.yml +4 -2
- package/package.json +7 -3
package/.circleci/config.yml
CHANGED
|
@@ -17,10 +17,10 @@ aliases:
|
|
|
17
17
|
mkdir ./test/results
|
|
18
18
|
- &lint
|
|
19
19
|
name: "run lint tests"
|
|
20
|
-
command: npm run lint
|
|
20
|
+
command: npm run lint -- --format junit -o ./test/results/lint-results.xml
|
|
21
21
|
- &unit
|
|
22
22
|
name: "run unit tests"
|
|
23
|
-
command: npm run unit
|
|
23
|
+
command: JEST_JUNIT_OUTPUT_NAME=unit-jest-results.xml npm run unit -- --reporters=jest-junit
|
|
24
24
|
- &build
|
|
25
25
|
name: "run npm build"
|
|
26
26
|
command: |
|
|
@@ -39,6 +39,8 @@ jobs:
|
|
|
39
39
|
<<: *unit
|
|
40
40
|
- run:
|
|
41
41
|
<<: *build
|
|
42
|
+
- store_test_results:
|
|
43
|
+
path: test/results
|
|
42
44
|
|
|
43
45
|
workflows:
|
|
44
46
|
build-test-no-deploy:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scratch-paint",
|
|
3
|
-
"version": "0.2.0-prerelease.
|
|
3
|
+
"version": "0.2.0-prerelease.20220401191745",
|
|
4
4
|
"description": "Graphical User Interface for the Scratch 3.0 paint editor, which is used to make and edit sprites for use in projects.",
|
|
5
5
|
"main": "./dist/scratch-paint.js",
|
|
6
6
|
"browser": "./src/index.js",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"lint": "eslint . --ext .js,.jsx",
|
|
14
14
|
"start": "webpack-dev-server",
|
|
15
15
|
"test": "npm run lint && npm run unit && NODE_ENV=production npm run build",
|
|
16
|
-
"unit": "jest",
|
|
16
|
+
"unit": "jest --reporters=default",
|
|
17
17
|
"watch": "webpack --progress --colors --watch"
|
|
18
18
|
},
|
|
19
19
|
"author": "Massachusetts Institute of Technology",
|
|
@@ -62,13 +62,14 @@
|
|
|
62
62
|
"enzyme-adapter-react-16": "1.15.6",
|
|
63
63
|
"eslint": "5.16.0",
|
|
64
64
|
"eslint-config-import": "0.13.0",
|
|
65
|
-
"eslint-config-scratch": "
|
|
65
|
+
"eslint-config-scratch": "7.0.0",
|
|
66
66
|
"eslint-plugin-import": "2.23.4",
|
|
67
67
|
"eslint-plugin-react": "7.20.3",
|
|
68
68
|
"gh-pages": "github:rschamp/gh-pages#publish-branch-to-subfolder",
|
|
69
69
|
"html-webpack-plugin": "3.2.0",
|
|
70
70
|
"jest": "22.4.4",
|
|
71
71
|
"jest-canvas-mock": "2.3.1",
|
|
72
|
+
"jest-junit": "13.0.0",
|
|
72
73
|
"json": "9.0.6",
|
|
73
74
|
"lodash.defaultsdeep": "4.6.1",
|
|
74
75
|
"mkdirp": "1.0.4",
|
|
@@ -114,6 +115,9 @@
|
|
|
114
115
|
"\\.(css|less)$": "<rootDir>/test/__mocks__/styleMock.js"
|
|
115
116
|
}
|
|
116
117
|
},
|
|
118
|
+
"jest-junit": {
|
|
119
|
+
"outputDirectory": "./test/results"
|
|
120
|
+
},
|
|
117
121
|
"browserslist": [
|
|
118
122
|
"last 3 versions",
|
|
119
123
|
"Safari >= 8",
|