UNPKG

create-elmer-ui-app

Version:

create an develop envirnment for elmer-ui-core

261 lines (258 loc) 7.67 kB
const configData = { "name": "create-elmer-ui-new-app", "version": "1.0.0", "types": "./lib/index.d.ts", "description": "this project is created by create-elmer-ui-app", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "dev": "webpack-dev-server --client-log-level none --color --inline --config ./config/webpack.config.dev.js", "build": "webpack --config ./config/webpack.config.prod.js --color", "lib": "babel ./src -d ./bin", "lint": "tslint --project . src/**/*.ts src/**/*.tsx" }, "repository": { "type": "git", "url": "git@182.61.37.81:/mnt/git/elmerUI2.git" }, "keywords": [ "elmerUI", "node" ], "author": "elmer mo", "license": "ISC", "devDependencies": { "@types/jquery": "^3.3.4", "babel-loader": "^7.1.5", "babel-polyfill": "^6.26.0", "babel-preset-env": "^1.7.0", "extract-text-webpack-plugin": "^4.0.0-beta.0", "progress-bar-webpack-plugin": "^1.11.0", "text-loader": "0.0.1", "ts-loader": "^4.4.2", "tslint": "^5.11.0", "typescript": "^2.9.2", "uglifyjs-webpack-plugin": "^1.2.7", "webpack": "^4.16.0", "webpack-cli": "^3.1.0", "webpack-dashboard": "^2.0.0", "webpack-dev-server": "^3.1.4", "webpack-merge": "^4.1.3" }, "dependencies": { "@abraham/reflection": "^0.4.2", "autoprefixer": "^9.2.0", "babel-cli": "^6.26.0", "babel-core": "^6.26.3", "chalk": "^2.4.1", "clean-webpack-plugin": "^0.1.19", "copy-webpack-plugin": "^5.0.3", "css-loader": "^1.0.0", "eslint-plugin-typescript": "^0.12.0", "file-loader": "^1.1.11", "html-webpack-plugin": "^3.2.0", "less": "3.0.0", "less-loader": "^4.1.0", "lodash.camelcase": "^4.3.0", "postcss-loader": "^3.0.0", "style-loader": "^0.21.0", "tslint-loader": "^3.5.4", "typescript-eslint-parser": "^18.0.0", "url-loader": "^1.0.1", "webpack-node-externals": "^1.7.2", "elmer-ui-core": "^1.0.0" } }; var tsLint = { "extends": "tslint:recommended", "defaultSeverity": "warn", "compilerOptions": { "sourceMap": true, "allowJs": true, "module": "commonjs", "removeComments": true, "target": "es2017" }, "linterOptions": { "exclude": [ "**/node_modules/**" ] }, "rules": { "adjacent-overload-signatures": true, "ban-comma-operator": true, "no-duplicate-imports": true, "member-access": [ false, "check-parameter-property" ], "member-order": [ false, {} ], "max-len": false, "max-line-length": false, "no-string-literal": false, "no-any": false, "no-empty-interface": true, "one-variable-per-declaration": false, "no-import-side-effect": [ false, { "ignore-module": "(\\.html|\\.css)$" } ], "no-inferrable-types": [ true, "ignore-params", "ignore-properties" ], "no-internal-module": true, "no-magic-numbers": [ false, 1, 2, 3 ], "no-namespace": [ false, "allpw-declarations" ], "no-unused-expression": false, "no-non-null-assertion": true, "no-parameter-reassignment": true, "no-angle-bracket-type-assertion": false, "no-reference": true, "no-unnecessary-type-assertion": true, "no-var-requires": true, "ban-types": false, "only-arrow-functions": [ true, "allow-declarations", "allow-named-functions" ], "prefer-for-of": false, "promise-function-async": true, "typedef": [ true, "call-signature", "parameter", "member-variable-declaration" ], "typedef-whitespace": false, "unified-signatures": true, "await-promise": true, "whitespace": false, "trailing-comma": false, "ban": [ false, "eval", { "name": "$", "message": "please don't" }, [ "describe", "only" ], { "name": [ "it", "only" ], "message": "don't focus tests" }, { "name": [ "chai", "assert", "equal" ], "message": "Use 'strictEqual' instead." }, { "name": [ "*", "forEach" ], "message": "Use a regular for loop instead." } ], "curly": true, "forin": true, "import-blacklist": true, "no-arg": true, "no-bitwise": true, "no-console": true, "no-construct": true, "no-debugger": true, "no-duplicate-super": true, "no-empty": true, "no-eval": false, "no-floating-promises": true, "no-for-in-array": false, "no-implicit-dependencies": true, "no-inferred-empty-object-type": false, "no-invalid-template-strings": true, "no-invalid-this": false, "no-misused-new": true, "no-null-keyword": false, "no-object-literal-type-assertion": false, "no-return-await": true, "arrow-parens": true, "object-literal-sort-keys": false } }; module.exports.postcss = 'var autoprefixer = require("autoprefixer");\r\n' + 'module.exports = {\r\n' + ' plugins: [\r\n' + ' autoprefixer({\r\n' + ' browsers: ["last 5 version"]\r\n' + ' })\r\n' + ' ]\r\n' + '};'; module.exports.babelrc = { "presets": [ [ "env", { "targets": { "browsers": [ "last 2 versions", "safari >= 7" ] } } ] ] }; module.exports.tsConfig = { "compilerOptions": { "allowSyntheticDefaultImports": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "noFallthroughCasesInSwitch": true, "noImplicitAny": false, "sourceMap": false, "allowJs": false, "checkJs": false, "module": "commonJs", "removeComments": true, "target": "es5", "lib": ["es2015", "dom", "dom.iterable"], "outDir": "./lib", "declaration": true, "declarationDir": "./lib", "strict": false }, "linterOptions": { "exclude": [ "**/node_modules/**", "**/bin/**" ] }, "include": [ "./src/**/*" ] }; module.exports.tsLint = tsLint; module.exports.packageJson = configData;