Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete Phenomic and update dependencies #74

Merged
merged 7 commits into from
Jul 14, 2019
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
package-lock=false
engine-strict=true
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
12
4 changes: 0 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
sudo: false

language: node_js
node_js:
- 8
script:
- npm run lint
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,22 @@ To get started:

```shell
npm install
cd website && npm install
ybiquitous marked this conversation as resolved.
Show resolved Hide resolved
```

Then to making visual edits:

```shell
npm start
npm run gendoc
cd website && npm start
ybiquitous marked this conversation as resolved.
Show resolved Hide resolved
```

Or to update the website to the latest version of stylelint:

```shell
npm install --save-dev stylelint@latest
npm run deploy
npm run gendoc
cd website && npm run build
ybiquitous marked this conversation as resolved.
Show resolved Hide resolved
```

... then commit and push your dependency change.
152 changes: 25 additions & 127 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,91 +5,30 @@
"homepage": "https://stylelint.io",
"license": "MIT",
"repository": "https://github.com/stylelint/stylelint.io.git",
"twitter": "stylelint",
"googleAnalyticsUA": "UA-72480048-1",
"engines": {
"node": ">=12"
ybiquitous marked this conversation as resolved.
Show resolved Hide resolved
},
"scripts": {
"precommit": "lint-staged",
"lint:js": "eslint . --ignore-path .gitignore",
"lint:css": "stylelint \"src/**/*.css\"",
"lint:css": "stylelint --ignore-path .gitignore \"**/*.css\"",
"lint": "npm-run-all --parallel lint:*",
"prettier:check": "prettier '**/*.js' --list-different",
"prettier:fix": "prettier '**/*.js' --write",
"pretest": "npm run lint",
"test": "jest && npm run build",
ybiquitous marked this conversation as resolved.
Show resolved Hide resolved
"precopy": "rimraf content dist",
"copy": "node ./scripts/copy-stylelint-docs",
"prestart": "npm run copy",
"start": "phenomic start",
"prebuild": "npm run copy",
"build": "phenomic build",
"predeploy": "npm run build",
"deploy": "gh-pages -t -d dist -r [email protected]:stylelint/stylelint.github.io.git -b master",
"watch": "jest --watch",
"pregendoc": "rimraf docs",
"gendoc": "node ./scripts/generate-stylelint-docs docs"
},
"phenomic": {
"assets": false,
"CNAME": true,
"nojekyll": true
},
"babel": {
"env": {
"test": {
"presets": [
"babel-preset-env",
"babel-preset-stage-2",
"babel-preset-react"
]
},
"development": {
"presets": [
"babel-preset-env",
"babel-preset-stage-2",
"babel-preset-react"
],
"plugins": [
"babel-plugin-transform-react-jsx-source",
"babel-plugin-transform-react-jsx-self",
"react-hot-loader/babel"
]
},
"production": {
"presets": [
"babel-preset-react-optimize",
"babel-preset-env",
"babel-preset-stage-2",
"babel-preset-react"
]
},
"webpack-development": {
"presets": [
"babel-preset-env",
"babel-preset-stage-2",
"babel-preset-react"
],
"plugins": [
"babel-plugin-transform-react-jsx-source",
"babel-plugin-transform-react-jsx-self",
"react-hot-loader/babel"
]
},
"webpack-production": {
"presets": [
"babel-preset-react-optimize",
"babel-preset-env",
"babel-preset-stage-2",
"babel-preset-react"
]
}
}
},
"eslintConfig": {
"root": true,
"extends": "./node_modules/phenomic/lib/eslint-config-recommended/index.js",
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"parserOptions": {
"ecmaVersion": "2019"
},
"env": {
"node": true,
"jest": true
"browser": true,
"node": true
}
},
"stylelint": {
Expand Down Expand Up @@ -126,72 +65,31 @@
"string-quotes": "double"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"prettier --write",
"git add"
]
},
"jest": {
"preset": "jest-preset-stylelint"
},
"devDependencies": {
"babel-cli": "^6.14.0",
"babel-core": "^6.14.0",
"babel-eslint": "^8.1.2",
"babel-loader": "^7.0.0-beta.1",
"babel-plugin-transform-react-jsx-self": "^6.11.0",
"babel-plugin-transform-react-jsx-source": "^6.9.0",
"babel-preset-env": "^1.3.2",
"babel-preset-react": "^6.23.0",
"babel-preset-react-optimize": "^1.0.1",
"babel-preset-stage-2": "^6.22.0",
"classnames": "^2.2.5",
"css-loader": "^0.28.0",
"eslint": "^4.14.0",
"eslint-loader": "^1.6.1",
"eslint-plugin-react": "^7.5.1",
"extract-text-webpack-plugin": "^2.1.0",
"file-loader": "^1.1.6",
"fs-extra": "^5.0.0",
"gh-pages": "^1.1.0",
"eslint": "^6.0.1",
"eslint-plugin-react": "^7.14.2",
"glob": "^7.1.4",
"history": "^2.0.0",
"husky": "^0.14.3",
"jest": "^22.0.4",
"jest-preset-stylelint": "^1.3.0",
"lint-staged": "^6.0.0",
"mdast-util-to-string": "^1.0.2",
"husky": "^3.0.0",
"lint-staged": "^9.2.0",
"npm-run-all": "^4.1.5",
"phenomic": "^0.21.0",
"postcss-browser-reporter": "^0.5.0",
"postcss-cssnext": "^3.0.2",
"postcss-loader": "^2.0.9",
"postcss-reporter": "^5.0.0",
"prettier": "~1.9.2",
"prop-types": "^15.6.0",
"raw-loader": "^0.5.1",
"react": "^15.4.1",
"react-dom": "^15.4.1",
"react-google-analytics": "^0.2.0",
"react-helmet": "^3.2.2",
"react-hot-loader": "^3.0.0-beta.6",
"react-redux": "^4.4.6",
"react-router": "^2.3.0",
"react-svg-inline": "^2.0.1",
"react-topbar-progress-indicator": "^2.0.0",
"redux": "^3.6.0",
"prettier": "^1.18.2",
"remark": "^10.0.1",
"remark-inline-links": "^3.1.3",
"remark-toc": "^3.1.0",
"rimraf": "^2.5.4",
"style-loader": "^0.19.1",
"rimraf": "^2.6.3",
"stylelint": "^10.1.0",
"stylelint-config-standard": "^18.3.0",
"stylelint-order": "^2.2.1",
"unist-util-visit": "^1.1.1",
"warning": "^3.0.0",
"webpack": "^2.3.3",
"whatwg-fetch": "^2.0.1"
"unist-util-visit": "^1.1.1"
}
}

This file was deleted.

This file was deleted.

71 changes: 0 additions & 71 deletions plugins/remark-stylelint-pattern-validity/index.js

This file was deleted.

Loading