forked from BoxFactura/pulltorefresh.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
38 lines (38 loc) · 1.51 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"name": "pulltorefreshjs",
"version": "0.1.16",
"description": "Pull To Refresh",
"main": "dist/pulltorefresh.js",
"scripts": {
"lint": "eslint src",
"build:browser": "bili src/lib/index.js --target browser --format umd,umd-min --name pulltorefresh --moduleName PullToRefresh --js buble",
"build:nodejs": "bili src/lib/index.js --target node --js buble --format es,cjs",
"build:styles": "lessc src/style.less demos/style.css -x --source-map-inline",
"build:demos": "pug src/demos --pretty --out demos && pug src/index.pug --pretty --out demos",
"build:all": "npm run build:styles && npm run build:demos && cp dist/*.min* demos",
"build:lib": "npm run build:browser && npm run build:nodejs",
"build": "npm run build:lib && npm run build:all",
"serve": "live-server demos",
"watch": "npm run build:browser -- -w",
"dev": "npm run serve & npm run watch",
"prepublish": "npm run build:lib",
"pretest": "npm run lint && NODE_ENV=test npm run build:demos --",
"test": "testcafe chrome tests/e2e/cases -a 'npm run serve -- --no-browser'",
"test:ci": "testcafe 'chrome:headless' tests/e2e/cases -a 'npm run serve -- --no-browser'"
},
"files": [
"dist/*.js"
],
"author": "Rafael Soto",
"license": "MIT",
"devDependencies": {
"bili": "^3.1.2",
"eslint": "^4.13.1",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.8.0",
"less": "^3.8.1",
"live-server": "^1.2.1",
"pug-cli": "^1.0.0-alpha6",
"testcafe": "^0.22.0"
}
}