@elamajs/elama-scripts
Configuration and scripts for Elama
Last updated a year ago by elama .
UNLICENCED · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @elamajs/elama-scripts 
SYNC missed versions from official npm registry.

elama-scripts

Этот пакет включает в себя скрипты и все необходимые конфигурации и зависимости для линтинга .css и .js файлов для Еламы

Использование

1 Установить

  npm i @elamajs/elama-scripts -D

2 Выполнить команды в package.json

  "scripts": {
    "lint:css": "elama-scripts lint-css 'src/**/*.css'",
    "lint:css:fix": "elama-scripts lint-css 'src/**/*.css' fix",
    "lint:js:fix": "elama-scripts lint-js 'src/**/*.js' fix",
    "lint:js": "elama-scripts lint-js 'src/**/*.js'"
  }

Дополнительно можно дописать свой конфиг (.stylelintrc, .eslintrc), переопределив дефолтный:

  "scripts": {
    "lint-css": "examples/**/*.css --config config_file_name",
    "lint-js": "examples/**/*.js --config config_file_name"
  }

Контактная информация

Current Tags

  • 1.4.0                                ...           latest (a year ago)

18 Versions

  • 1.4.0                                ...           a year ago
  • 1.3.0                                ...           a year ago
  • 1.2.0                                ...           a year ago
  • 1.1.7                                ...           a year ago
  • 1.1.6                                ...           a year ago
  • 1.1.5-0                                ...           2 years ago
  • 1.1.4                                ...           2 years ago
  • 1.1.3                                ...           2 years ago
  • 1.1.2                                ...           2 years ago
  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.0.5                                ...           3 years ago
  • 0.0.41                                ...           3 years ago
  • 0.0.4                                ...           3 years ago
  • 0.0.3                                ...           3 years ago
  • 0.0.2                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 2
Last Month 25
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |