Skip to content

Commit

Permalink
Merge pull request #790 from dpc-sdp/feature/update-cli-template
Browse files Browse the repository at this point in the history
update cli templates
  • Loading branch information
dylankelly authored Aug 22, 2023
2 parents 03b630c + bac6c72 commit 894d61c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ dist
.DS_Store
coverage

# Cypress
cypress/downloads
cypress/screenshots
cypress/videos

# Local History
.history

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default {
testRegex: '.*.test.(j|t)s[x]?$',
transform: {
'^.+\\.ts$': ['<rootDir>/node_modules/ts-jest'],
'^.+\\.js$': '<rootDir>/node_modules/babel-jest'
'^.+\\.[m]?js$': '<rootDir>/node_modules/babel-jest'
},
transformIgnorePatterns: ['<rootDir>/node_modules/(?!(lodash|@dpc-sdp/.*))']
transformIgnorePatterns: ['<rootDir>/node_modules/(?!(uncrypto|lodash|@dpc-sdp/.*))']
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,18 @@ to: package.json
},
"scripts": {
"build": "nuxi build .playground",
"start": "nuxi start .playground",
"cy:open": "cypress open",
"dev": "nuxi prepare & nuxi dev .playground",
"dev:mock": "NUXT_PUBLIC_API_URL=http://localhost:3001 API_PORT=3001 npm run dev",
"lint": "eslint .",
"start": "nuxi start .playground",
"start:mock": "NUXT_PUBLIC_API_URL=http://localhost:3001 API_PORT=3001 nuxi start .playground",
"mock": "node mockserver",
"preview": "nuxi preview .playground",
"lint": "eslint .",
"cy:open": "cypress open",
"cy:run": "cypress run",
"test:unit": "jest --colors --runInBand --passWithNoTests",
"test:integration": "NUXT_PUBLIC_TIDE_SITE=TEST_SITE NUXT_PUBLIC_TIDE_BASE_URL=https://test.base.url/ start-test dev:mock 'http-get://localhost:3000/assets/fonts/VIC-Regular.woff2' 'cy:open'"
"test:integration": "NUXT_PUBLIC_TIDE_SITE=TEST_SITE NUXT_PUBLIC_TIDE_BASE_URL=https://test.base.url/ start-test dev:mock tcp:3000 'cy:open'",
"test:integration-ci": "NUXT_PUBLIC_TIDE_SITE=TEST_SITE NUXT_PUBLIC_TIDE_BASE_URL=https://test.base.url/ start-test start:mock tcp:3000 'cy:run'"
},
"devDependencies": {
"@babel/plugin-transform-runtime": "^7.22.4",
Expand Down

0 comments on commit 894d61c

Please sign in to comment.