Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commitf82c089

Browse files
committed
refactor: clean up package.json
1 parentca341b8 commitf82c089

File tree

6 files changed

+17
-248
lines changed

6 files changed

+17
-248
lines changed

‎.jest.config.js‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
module.exports={
2+
setupFiles:['<rootDir>/.jest.setup.js'],
3+
coverageDirectory:'./coverage/',
4+
testURL:'http://localhost/',
5+
collectCoverage:true,
6+
snapshotSerializers:['enzyme-to-json/serializer'],
7+
testPathIgnorePatterns:[
8+
'<rootDir>/.next/',
9+
'<rootDir>/node_modules/',
10+
'<rootDir>/cypress',
11+
],
12+
}
File renamed without changes.

‎jest.config.js‎

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

‎package.json‎

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88
"local":"cross-env GOAL=local run-p server",
99
"lint":"eslint --fix pages/**/*.js components/**/* containers/**/* stores/**/*",
1010
"lint:watch":"esw -w pages/**/*.js components/**/* containers/**/* stores/**/*",
11-
"pretest":"npm run lint",
12-
"test":"cross-env NODE_ENV=test jest",
13-
"test:watch":"npm run test -- --watch",
14-
"test:cover":"npm run test -- --coverage",
1511
"server":"npm run clean && node server.js",
1612
"build":"run-s dist clean",
1713
"build:only":"npm run i18n && next build",
@@ -24,10 +20,11 @@
2420
"precommit":"lint-staged",
2521
"gen":"plop --plopfile ./utils/scripts/generators/index.js",
2622
"analyze":"cross-env ANALYZE=1 next build",
27-
"api:play":"GRAPHQL_CONFIG_ENDPOINT_NAME=mastani graphql playground",
28-
"api:graph":"graphql voyager",
29-
"graph:mastani":"graphql get-schema -e mastani && head ./schema.graphql",
30-
"graph:example":"graphql get-schema -e example && graphql voyager",
23+
"test":"cross-env NODE_ENV=test GOAL=test jest --config .jest.config.js",
24+
"test:dev":"cross-env NODE_ENV=dev GOAL=test jest --config .jest.config.js",
25+
"test:watch":"npm run test -- --watch",
26+
"test:cover":"npm run test -- --coverage",
27+
"test:e2e":"cypress open",
3128
"coveralls":"cat ./coverage/lcov.info | coveralls",
3229
"commitmsg":"commitlint -E GIT_PARAMS"
3330
},

‎publish.sh‎

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

‎schema.graphql‎

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp