Skip to content
Permalink
Browse files

feat: add kendo-theme-tasks

  • Loading branch information...
joneff committed Oct 15, 2018
1 parent 594637d commit 61bda89171af42c45390779d504627624f43e5f2
@@ -17,6 +17,10 @@ indent_size = 4
indent_style = space
indent_size = 4

[*.js]
indent_style = space
indent_size = 4

[{package.json,.travis.yml}]
indent_style = space
indent_size = 2
@@ -12,6 +12,7 @@ cache:
- packages/default/node_modules
- packages/bootstrap/node_modules
- packages/material/node_modules
- packages/theme-tasks/node_modules

notifications:
email: false
@@ -1,10 +1,10 @@
{
"devDependencies": {
"@semantic-release/npm": "^2.6.0",
"@telerik/kendo-common-tasks": "^3.0.0",
"cz-conventional-changelog": "^1.1.5",
"editorconfig-tools": "^0.1.1",
"ghooks": "^1.0.3",
"http-server": "^0.11.1",
"jquery": "^3.3.1",
"karma": "^1.7.1",
"karma-chrome-launcher": "^2.2.0",
@@ -28,7 +28,9 @@
"develop": "./develop.sh",
"watch-test": "npm run karma-watch",
"karma-watch": "karma start --auto-watch --no-single-run",
"karma-single": "karma start --no-auto-watch --single-run --browsers ChromeHeadless"
"karma-single": "karma start --no-auto-watch --single-run --browsers ChromeHeadless",
"serve-integrity": "http-server ./tests/integrity",
"serve-visual": "http-server ./tests/visual"
},
"config": {
"commitizen": {
@@ -53,5 +55,6 @@
"warnOnFail": false,
"maxSubjectLength": 100
}
}
},
"dependencies": {}
}

This file was deleted.

@@ -19,12 +19,12 @@
"access": "public"
},
"scripts": {
"lint": "sass-lint -v -c ./sass-lint.yml",
"api": "sassdoc ./scss/",
"lint": "kendotheme lint",
"api": "kendotheme api",
"api-check": "npm run api && git diff --exit-code --quiet -- docs/ || (echo -e '\\033[0;31mERROR: API docs are out of date' && exit 1)",
"start": "webpack-dev-server --hot --inline",
"build": "webpack --optimize-minimize --bail",
"watch": "webpack --watch",
"build": "kendotheme build",
"watch": "kendotheme build --watch",
"swatches": "kendotheme build --swatches",
"test": "npm run lint && npm run build && npm run api-check",
"prepublishOnly": "bash ./build/embed-dependencies 'bootstrap' '@progress/kendo-theme-default' && npm run build",
"postpublish": "rm -rf modules && git checkout scss"
@@ -36,9 +36,7 @@
"@progress/kendo-theme-default": "^2.59.0"
},
"devDependencies": {
"bootstrap": "4.0.0",
"sass-lint": "^1.7.0",
"sassdoc": "^2.1.20",
"webpack": "^1.13.1"
"@progress/kendo-theme-tasks": "^0.0.1",
"bootstrap": "^4.0.0"
}
}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

@@ -18,24 +18,20 @@
"access": "public"
},
"scripts": {
"lint": "sass-lint -v -c ./sass-lint.yml",
"api": "sassdoc ./scss/",
"lint": "kendotheme lint",
"api": "kendotheme api",
"api-check": "npm run api && git diff --exit-code --quiet -- docs/ || (echo -e '\\033[0;31mERROR: API docs are out of date' && exit 1)",
"start": "webpack-dev-server --hot --inline",
"build": "webpack --optimize-minimize --bail",
"watch": "webpack --watch",
"embed-assets": "node build/embed-assets.js",
"test": "npm run lint && npm run build && npm run api-check && npm run twbs-compat",
"twbs-compat": "webpack --env.twbs-compat --bail"
"build": "kendotheme build",
"watch": "kendotheme build --watch",
"swatches": "kendotheme --swatches",
"embed-assets": "kendotheme assets",
"test": "npm run lint && npm run build && npm run api-check",
"twbs-compat": "kendotheme build --file ./build/twbs-compat.scss"
},
"devDependencies": {
"@telerik/kendo-common-tasks": "^3.0.0",
"@progress/kendo-theme-tasks": "^0.0.1",
"bootstrap": "4.0.0",
"glob": "^7.0.5",
"handlebars": "^4.0.10",
"mime": "^1.3.4",
"sass-lint": "^1.7.0",
"sassdoc": "^2.1.20",
"webpack": "^1.13.1"
}
"handlebars": "^4.0.10"
},
"dependencies": {}
}

This file was deleted.

This file was deleted.

@@ -20,12 +20,12 @@
"access": "public"
},
"scripts": {
"lint": "sass-lint -v -c ./sass-lint.yml",
"api": "sassdoc ./scss/",
"lint": "kendotheme lint",
"api": "kendotheme api",
"api-check": "npm run api && git diff --exit-code --quiet -- docs/ || (echo -e '\\033[0;31mERROR: API docs are out of date' && exit 1)",
"start": "webpack-dev-server --hot --inline",
"build": "webpack --optimize-minimize --bail",
"watch": "webpack --watch",
"build": "kendotheme build",
"watch": "kendotheme build --watch",
"swatches": "kendotheme --swatches",
"test": "npm run lint && npm run build && npm run api-check",
"prepublishOnly": "bash ./build/embed-dependencies '@progress/kendo-theme-default' && npm run build",
"postpublish": "rm -rf modules && git checkout scss"
@@ -34,8 +34,6 @@
"@progress/kendo-theme-default": "^2.59.0"
},
"devDependencies": {
"sass-lint": "^1.7.0",
"sassdoc": "^2.1.20",
"webpack": "^1.13.1"
"@progress/kendo-theme-tasks": "^0.0.1"
}
}

This file was deleted.

@@ -0,0 +1,67 @@
{
"root": true,
"extends": "eslint:recommended",
"env": {
"browser": true,
"node": true,
"es6": true
},
"rules": {
"no-unexpected-multiline": "error",
"block-scoped-var": "error",
"complexity": [ 1, 15 ],
"consistent-return": "error",
"curly": "error",
"default-case": "error",
"dot-location": ["error", "property"],
"eqeqeq": ["error", "smart"],
"no-alert": "error",
"no-caller": "error",
"no-console": "error",
"no-else-return": "error",
"no-eval": "error",
"no-implied-eval": "error",
"no-extend-native": "error",
"no-extra-bind": "error",
"no-implicit-coercion": "error",
"no-invalid-this": "error",
"no-lone-blocks": "error",
"no-loop-func": "error",
"no-multi-spaces": "error",
"no-native-reassign": "error",
"no-new": "error",
"no-param-reassign": "error",
"no-return-assign": "error",
"no-sequences": "error",
"no-useless-call": "error",
"array-bracket-spacing": ["error", "always"],
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
"camelcase": "error",
"comma-style": "error",
"consistent-this": ["error", "that"],
"indent": ["error", 4, { "SwitchCase": 1 }],
"jsx-quotes": "error",
"key-spacing": ["error", { "beforeColon": false, "afterColon": true }],
"keyword-spacing": ["error", { "before": true, "after": true }],
"linebreak-style": ["error", "unix"],
"max-params": ["error", 4],
"no-multiple-empty-lines": ["error", {"max": 2}],
"no-nested-ternary": "error",
"no-spaced-func": "error",
"no-trailing-spaces": "error",
"object-curly-spacing": ["error", "always"],
"semi": [ "error", "always" ],
"semi-spacing": "error",
"space-before-blocks": "error",
"space-before-function-paren": ["error", "never"],
"space-infix-ops": ["error", {"int32Hint": false} ],
"arrow-body-style": "error",
"no-confusing-arrow": "error",
"no-class-assign": "error",
"no-const-assign": "error",
"no-dupe-class-members": "error",
"no-this-before-super": "error",
"no-var": "error",
"yoda": ["error", "never", { "exceptRange": true }]
}
}
@@ -0,0 +1,3 @@
#!/usr/bin/env node

require('../')();
@@ -0,0 +1,23 @@
"use strict";

const {
sasslint, jslint
} = require("./lib/tasks/lint");
const sassTasks = require("./lib/tasks/sass");


// Export related tasks as a group
exports.tasks = {
sass: {
lint: sasslint,
buildFile: sassTasks.buildFile,
theme: sassTasks.theme,
watch: sassTasks.watchtheme,
swatches: sassTasks.swatches,
api: sassTasks.api,
assets: sassTasks.assets
}
};

// Export only lint as a local task
exports.lint = jslint;

0 comments on commit 61bda89

Please sign in to comment.
You can’t perform that action at this time.