Skip to content

Commit

Permalink
yarn to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
max-ostapenko committed May 9, 2024
1 parent 1107d03 commit ffc92a2
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 3,324 deletions.
7 changes: 5 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,19 @@ module.exports = {
browser: true,
node: true,
},
parser: '@babel/eslint-parser',
parserOptions: {
parser: 'babel-eslint',
requireConfigFile: false,
},
extends: [
'@nuxtjs',
'prettier',
'prettier/vue',
'plugin:prettier/recommended',
'plugin:nuxt/recommended',
'plugin:json/recommended',
],
plugins: ['prettier'],
rules: {
'array-callback-return': 'off',
},
}
10 changes: 10 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!-- Add any related issues and a description of the changes proposed in the pull request. -->
Resolves \#1

Description of the changes...

---
<!-- List the pages that should be automatically tested as part of your custom metric changes. -->
**Test websites**:

- https://example.com/
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"semi": false,
"arrowParens": "always",
"singleQuote": true
"singleQuote": true,
"trailingComma": "es5"
}
45 changes: 29 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,41 @@
{
"dependencies": {
"@prantlf/jsonlint": "^14.0.3",
"adm-zip": "^0.4.16",
"convert-svg-to-png": "^0.5.0"
"adm-zip": "^0.5.12",
"convert-svg-to-png": "^0.6.4"
},
"devDependencies": {
"@nuxtjs/eslint-config": "^3.1.0",
"@nuxtjs/eslint-module": "^2.0.0",
"babel-eslint": "^10.1.0",
"eslint": "^7.13.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-json": "^2.1.2",
"eslint-plugin-nuxt": "^1.0.0",
"eslint-plugin-prettier": "^3.1.4",
"prettier": "^2.1.2",
"terminal-overwrite": "^2.0.1"
"@nuxtjs/eslint-config": "^12.0.0",
"@nuxtjs/eslint-module": "^4.1.0",
"@babel/eslint-parser": "^7.24.5",
"eslint": "^8.23.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-nuxt": "^4.0.0",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"terminal-overwrite": "^2.0.1",
"webpagetest": "github:HTTPArchive/WebPageTest.api-nodejs"
},
"scripts": {
"lint": "eslint src/**/*.{js,json} && jsonlint -jsV ./schema.json --trim-trailing-commas --enforce-double-quotes ./src/technologies/ && jsonlint -js --trim-trailing-commas --enforce-double-quotes ./src/categories.json",
"lint:fix": "eslint --fix src/**/*.{js,json} && jsonlint -isV ./schema.json --trim-trailing-commas --enforce-double-quotes ./src/technologies/ && jsonlint -is --trim-trailing-commas --enforce-double-quotes ./src/categories.json",
"validate": "yarn run lint && node ./bin/validate.js",
"validate": "npm run lint && node ./bin/validate.js",
"test": "jest",
"convert": "node --no-warnings ./bin/convert.js",
"build": "yarn run validate && yarn run prettify && yarn run convert && node ./bin/build.js",
"build:safari": "xcrun safari-web-extension-converter --swift --project-location build --force src",
"manifest": "node ./bin/manifest.js"
"prettify": "jsonlint -si --trim-trailing-commas --enforce-double-quotes ./src/categories.json ./src/technologies/*.json",
"build": "npm run validate && npm run prettify && npm run convert && node ./bin/build.js"
},
"jest": {
"reporters": [
"default",
[
"github-actions",
{
"silent": false
}
]
]
}
}
Loading

0 comments on commit ffc92a2

Please sign in to comment.