Revert build changes

This commit is contained in:
2018-03-07 15:24:56 +00:00
parent 7ada076e9b
commit e9b30d963b
4 changed files with 925 additions and 1066 deletions

1
.gitignore vendored
View File

@@ -2,4 +2,3 @@
node_modules/ node_modules/
theme/style.css theme/style.css
theme/bundle.js theme/bundle.js
windycoys/

View File

@@ -7,4 +7,6 @@ ENV NODE_ENV production
RUN npm install RUN npm install
CMD ["npm", "run", "build"] RUN npm run build
RUN mv theme windycoys

1974
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -3,8 +3,7 @@
"version": "0.1.0", "version": "0.1.0",
"description": "Wordpress theme for windycoys.com", "description": "Wordpress theme for windycoys.com",
"scripts": { "scripts": {
"build": "npm run css:compile && npm run js:compile && npm run copytheme", "build": "npm run css:compile && npm run js:compile",
"copytheme": "copyup theme/** theme/**/* windycoys",
"css": "run-p css:*", "css": "run-p css:*",
"css:compile": "postcss -o theme/style.css css/index.css", "css:compile": "postcss -o theme/style.css css/index.css",
"css:lint": "stylelint --config .stylelintrc \"css/**/*.css\"", "css:lint": "stylelint --config .stylelintrc \"css/**/*.css\"",
@@ -30,11 +29,10 @@
"stylelint-selector-bem-pattern": "^2.0.0" "stylelint-selector-bem-pattern": "^2.0.0"
}, },
"dependencies": { "dependencies": {
"@babel/cli": "^7.0.0-beta.39", "@babel/cli": "^7.0.0-beta.40",
"@babel/core": "^7.0.0-beta.39", "@babel/core": "^7.0.0-beta.40",
"@babel/preset-env": "^7.0.0-beta.39", "@babel/preset-env": "^7.0.0-beta.40",
"autoprefixer": "^7.2.5", "autoprefixer": "^7.2.5",
"copyfiles": "^1.2.0",
"cssnano": "^3.10.0", "cssnano": "^3.10.0",
"normalize.css": "^7.0.0", "normalize.css": "^7.0.0",
"postcss-cli": "^4.1.1", "postcss-cli": "^4.1.1",
@@ -42,7 +40,7 @@
"postcss-custom-properties": "^6.2.0", "postcss-custom-properties": "^6.2.0",
"postcss-import": "^11.0.0", "postcss-import": "^11.0.0",
"rollup": "^0.55.5", "rollup": "^0.55.5",
"rollup-plugin-babel": "^4.0.0-beta.1", "rollup-plugin-babel": "^4.0.0-beta.2",
"rollup-plugin-uglify": "^3.0.0" "rollup-plugin-uglify": "^3.0.0"
}, },
"watch": { "watch": {