Skip to content

Commit c9c4871

Browse files
authored
Merge pull request #413 from mashmatrix/remove-unused-settings
Remove unused settings in project
2 parents f4965fa + 3b9d9d6 commit c9c4871

17 files changed

+76
-56556
lines changed

.travis.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

babel.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ module.exports = {
1212
'@babel/typescript',
1313
],
1414
plugins: [
15-
'@babel/plugin-proposal-object-rest-spread',
1615
'@babel/plugin-transform-runtime',
17-
'@babel/plugin-proposal-class-properties',
1816
],
1917
};

package.json

Lines changed: 3 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,15 @@
2323
},
2424
"scripts": {
2525
"storybook": "start-storybook -s ./node_modules/@salesforce-ux/design-system -p 9001 -c .storybook",
26-
"test": "run-s test:jest test:storyshots",
27-
"test:storyshots": "NODE_ENV=test jest test/storyshots/*.test.js",
28-
"test:jest": "jest test/*-spec.tsx",
29-
"pretest:visual": "STORYBOOK_MODE=visual-test storycap --serverCmd \"npm run storybook -- --ci\" http://localhost:9001 -o images --serverTimeout 3600000 --captureTimeout 10000 --delay 2000",
26+
"test": "echo \"no test to run\"",
27+
"pretest:visual": "storycap --serverCmd \"npm run storybook -- --ci\" http://localhost:9001 -o images --serverTimeout 3600000 --captureTimeout 10000 --delay 2000",
3028
"test:visual": "reg-suit -v run",
3129
"type-check": "tsc --noEmit",
3230
"type-check:watch": "npm run type-check -- --watch",
3331
"format": "npm run lint:src -- --fix && npm run lint:stories -- --fix && npm run lint:test -- --fix",
34-
"lint": "npm run lint:src && npm run lint:stories && npm run lint:test",
32+
"lint": "npm run lint:src && npm run lint:stories",
3533
"lint:src": "eslint --ext .ts,.tsx src/scripts/**",
3634
"lint:stories": "eslint --ext .ts,.tsx stories/**",
37-
"lint:test": "eslint --ext .js,.ts,.tsx test/**",
3835
"build": "run-p build:lib build:module build:types",
3936
"build:lib": "babel -d lib/ src/ --extensions \".ts,.tsx\" --source-maps true",
4037
"build:module": "BUILD_TARGET=module babel -d module/ src/ --extensions \".ts,.tsx\" --source-maps true",
@@ -64,9 +61,7 @@
6461
"devDependencies": {
6562
"@babel/cli": "^7.17.6",
6663
"@babel/core": "^7.17.9",
67-
"@babel/plugin-proposal-class-properties": "^7.16.7",
6864
"@babel/plugin-transform-runtime": "^7.17.0",
69-
"@babel/polyfill": "^7.12.1",
7065
"@babel/preset-env": "^7.16.11",
7166
"@babel/preset-react": "^7.16.7",
7267
"@babel/preset-typescript": "^7.16.7",
@@ -78,36 +73,22 @@
7873
"@storybook/react": "^6.4.22",
7974
"@storybook/theming": "^6.4.22",
8075
"@types/classnames": "^2.2.7",
81-
"@types/enzyme": "^3.10.12",
82-
"@types/jest": "^25.2.3",
83-
"@types/power-assert": "^1.5.0",
8476
"@types/react": "^17",
8577
"@types/react-dom": "^17",
8678
"@types/svg4everybody": "^2.1.1",
8779
"@typescript-eslint/eslint-plugin": "^5.20.0",
8880
"@typescript-eslint/parser": "^5.20.0",
89-
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
90-
"babel-eslint": "^10.0.1",
91-
"babel-jest": "^25.5.1",
9281
"babel-loader": "^8.1.0",
93-
"babel-plugin-espower": "^2.1.2",
94-
"enzyme": "^3.11.0",
9582
"eslint": "^8.14.0",
96-
"eslint-config-airbnb": "^19.0.4",
9783
"eslint-config-prettier": "^8.5.0",
98-
"eslint-plugin-import": "^2.26.0",
9984
"eslint-plugin-jsx-a11y": "^6.5.1",
10085
"eslint-plugin-prettier": "^4.0.0",
10186
"eslint-plugin-react": "^7.29.4",
10287
"gh-pages": "^0.12.0",
103-
"jest": "^25.5.4",
10488
"npm-run-all": "^4.0.1",
105-
"power-assert": "^1.4.1",
10689
"prettier": "^2.6.2",
10790
"react": "^17.0.2",
108-
"react-addons-test-utils": "^15.6.2",
10991
"react-dom": "^17.0.2",
110-
"react-test-renderer": "^17.0.2",
11192
"reg-keygen-git-hash-plugin": "^0.11.1",
11293
"reg-notify-github-plugin": "^0.11.1",
11394
"reg-publish-s3-plugin": "^0.11.0",
@@ -121,15 +102,5 @@
121102
},
122103
"resolutions": {
123104
"@types/react": "^16.8.12"
124-
},
125-
"jest": {
126-
"testRegex": "(/test/.*|\\.(test|spec))\\.(js|tsx)$",
127-
"setupFilesAfterEnv": [
128-
"<rootDir>/test/setupTests.js"
129-
],
130-
"collectCoverage": true,
131-
"moduleNameMapper": {
132-
"\\.(css|less)$": "<rootDir>/test/__mocks__/styleMock.js"
133-
}
134105
}
135106
}

test/.eslintrc

Lines changed: 0 additions & 8 deletions
This file was deleted.

test/__mocks__/styleMock.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/badge-spec.tsx

Lines changed: 0 additions & 29 deletions
This file was deleted.

test/breadcrumbs-spec.tsx

Lines changed: 0 additions & 65 deletions
This file was deleted.

test/button-spec.tsx

Lines changed: 0 additions & 148 deletions
This file was deleted.

test/form-spec.tsx

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)