chore: components workflow

This commit is contained in:
Mo
2022-06-15 10:11:05 -05:00
parent f076057f4b
commit f33e5db84e
34 changed files with 74 additions and 74 deletions

View File

@@ -22,14 +22,14 @@
"deploy-build": "yarn run predeploy && gh-pages -b build -d build",
"deploy-dev": "yarn run predeploy && gh-pages -b dev -d build",
"deploy-stable": "yarn run predeploy && gh-pages -b gh-pages -d build",
"custom:test": "react-scripts test --watchAll=false",
"components:test": "react-scripts test --watchAll=false",
"test:coverage": "npm run test -- --coverage --watchAll",
"eject": "react-scripts eject",
"serve": "serve -s -p 3000 build",
"server-public": "http-server -p 3000 --cors",
"server-root": "http-server ./ -p 3000 --cors",
"server": "http-server ./build -p 3000 --cors",
"compile:lint": "prettier --write 'src/**/*.{html,css,scss,js,jsx,ts,tsx,json}' README.md"
"components:lint": "prettier --write 'src/**/*.{html,css,scss,js,jsx,ts,tsx,json}' README.md"
},
"eslintConfig": {
"extends": [

View File

@@ -12,8 +12,8 @@
"scripts": {
"start": "webpack serve --config webpack.dev.js --progress --hot",
"compile": "webpack --config webpack.prod.js",
"custom:lint": "eslint src --ext .js",
"custom:lint:fix": "yarn lint --fix"
"components:lint": "eslint src --ext .js",
"components:lint:fix": "yarn lint --fix"
},
"devDependencies": {
"@babel/cli": "^7.13.10",

View File

@@ -4,8 +4,8 @@
"version": "1.3.5",
"main": "dist/dist.js",
"scripts": {
"custom:lint": "eslint app/ --ext .js",
"custom:lint:fix": "yarn lint --fix",
"components:lint": "eslint app/ --ext .js",
"components:lint:fix": "yarn lint --fix",
"compile": "webpack --config webpack.prod.js",
"start": "webpack serve --config webpack.dev.js --progress --hot"
},

View File

@@ -9,8 +9,8 @@
"scripts": {
"start": "http-server . --cors -p8001 & webpack --progress --config webpack.dev.js",
"compile": "webpack --config webpack.prod.js",
"custom:lint": "eslint src --ext .js",
"custom:lint:fix": "yarn lint --fix"
"components:lint": "eslint src --ext .js",
"components:lint:fix": "yarn lint --fix"
},
"devDependencies": {
"@babel/cli": "^7.12.10",

View File

@@ -17,7 +17,7 @@
"start": "react-scripts start",
"compile": "react-scripts build",
"eject": "react-scripts eject",
"compile:lint": "prettier --write 'src/**/*.{html,css,scss,js,jsx,ts,tsx,json}' README.md"
"components:lint": "prettier --write 'src/**/*.{html,css,scss,js,jsx,ts,tsx,json}' README.md"
},
"devDependencies": {
"@codemirror/lang-markdown": "^0.19.6",

View File

@@ -6,7 +6,7 @@
"main": "dist/dist.js",
"author": "Standard Notes <hello@standardnotes.com>",
"scripts": {
"custom:lint": "eslint --ext .js .",
"components:lint": "eslint --ext .js .",
"compile": "webpack --config webpack.prod.js",
"start": "webpack serve --config webpack.dev.js --progress --hot"
},

View File

@@ -4,7 +4,7 @@
"version": "1.4.2",
"main": "dist/dist.js",
"scripts": {
"custom:lint": "eslint --cache --ext .jsx,.js --format=node_modules/eslint-formatter-pretty .",
"components:lint": "eslint --cache --ext .jsx,.js --format=node_modules/eslint-formatter-pretty .",
"compile": "webpack",
"start": "webpack-dev-server --devtool eval --progress --port 8001 --hot --content-base app",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1"

View File

@@ -6,8 +6,8 @@
"scripts": {
"compile": "webpack --config webpack.prod.js",
"start": "webpack serve --config webpack.dev.js --progress --hot",
"custom:lint": "eslint app/ --ext .js",
"custom:lint:fix": "yarn lint --fix"
"components:lint": "eslint app/ --ext .js",
"components:lint:fix": "yarn lint --fix"
},
"sn": {
"main": "dist/index.html"

View File

@@ -4,8 +4,8 @@
"version": "1.4.4",
"main": "dist/dist.js",
"scripts": {
"custom:lint": "eslint app/ --ext .js",
"custom:lint:fix": "npm run lint -- --fix",
"components:lint": "eslint app/ --ext .js",
"components:lint:fix": "npm run lint -- --fix",
"compile": "webpack --config webpack.prod.js",
"start": "webpack serve --config webpack.dev.js --progress --hot",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1"

View File

@@ -5,8 +5,8 @@
"scripts": {
"compile": "webpack --config webpack.prod.js",
"start": "webpack serve --config webpack.dev.js --progress --hot",
"custom:lint": "eslint app/ --ext .js",
"custom:lint:fix": "yarn lint --fix"
"components:lint": "eslint app/ --ext .js",
"components:lint:fix": "yarn lint --fix"
},
"sn": {
"main": "dist/index.html"