Skip to content

Commit

Permalink
chore: tweak files field
Browse files Browse the repository at this point in the history
  • Loading branch information
xudafeng committed Jan 30, 2021
1 parent 310e2a0 commit 95137fd
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 18 deletions.
10 changes: 0 additions & 10 deletions .npmignore

This file was deleted.

6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: node_js
node_js:
- 8
- 12
sudo: false
addons:
apt:
Expand All @@ -10,9 +10,7 @@ install:
- export DISPLAY=':99.0'
- Xvfb :99 -screen 0 1366x768x24 > /dev/null 2>&1 &
- npm i vuepress macaca-ecosystem
# https://github.com/webpack-contrib/terser-webpack-plugin/issues/66
- npm i terser@3.14.1
- npm run docs:build
- $(npm bin)/vuepress build docs
- $(npm bin)/macaca-ecosystem push --cwd ./docs_dist --branch gh-pages
script:
- npm i
Expand Down
2 changes: 2 additions & 0 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'use strict';

const macacaEcosystem = require('macaca-ecosystem');
const traceFragment = require('macaca-ecosystem/lib/trace-fragment');

const name = 'uitest';

Expand Down Expand Up @@ -37,6 +38,7 @@ module.exports = {
gtag('js', new Date());
gtag('config', 'UA-49226133-2');
`],
['script', {}, traceFragment],
['style', {}, `
img {
width: 100%;
Expand Down
File renamed without changes.
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
{
"name": "uitest",
"version": "5.0.2",
"version": "6.0.0",
"description": "Run mocha in a browser environment.",
"keywords": [
"uitest"
],
"main": "index.js",
"files": [
"*.js",
"lib/**/*.js"
],
"repository": {
"type": "git",
"url": "git@github.com:macacajs/uitest.git"
},
"dependencies": {
"macaca-electron": "7.1.11",
"macaca-electron": "9",
"mocha": "^5.2.0"
},
"devDependencies": {
Expand All @@ -25,13 +29,12 @@
"macaca-ecosystem": "*",
"mocha": "*",
"nyc": "^13.1.0",
"vuepress": "^0.14.8"
"vuepress": "^1.5.2"
},
"scripts": {
"test": "nyc --reporter=lcov --reporter=text mocha",
"lint": "eslint --fix .",
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs",
"contributor": "git-contributor"
},
"husky": {
Expand Down

0 comments on commit 95137fd

Please sign in to comment.