-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.json
56 lines (56 loc) · 1.74 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"name": "amfe-env",
"description": "Parsing User-Agent on a mobile device, could detecting what os/browser/app.",
"version": "2.0.0",
"repository": {
"type": "git",
"url": "[email protected]:amfe/amfe-env.git"
},
"license": "MIT",
"author": [
{
"name": "terrykingcha",
"email": "[email protected]"
}
],
"keywords": [
"lib",
"amfe",
"javascript"
],
"scripts": {
"clear": "rm -rf dist coverage release",
"watch": "watch -p \"src/**/*.js\" -c \"npm run build\"",
"build": "rm -rf dist && babel src --out-dir dist",
"bundle": "sh ./build/bundle.sh",
"lint": "eslint --config .eslintrc src/**/*.js test/**/*.js",
"test": "mocha --compilers js:babel-core/register",
"cover": "babel-node node_modules/isparta/bin/isparta cover --report text node_modules/mocha/bin/_mocha test/**/*.js --reporter dot",
"ci": "npm run lint && npm run test",
"release": "npm run build && sh ./build/release.sh",
"site:update": "./build/site.sh update",
"site:build": "./build/site.sh build",
"site:watch": "watch -p \"doc/**/*.md\" -c \"npm run site:build\"",
"site:serve": "./build/site.sh serve",
"site:dev": "npm run site:build && npm run site:serve && npm run site:watch",
"site:publish": "sh ./build/site.sh publish"
},
"dependencies": {},
"devDependencies": {
"babel-cli": "~6.4.5",
"babel-core": "~6.4.5",
"babel-preset-es2015": "~6.3.13",
"babelify": "~7.2.0",
"browserify": "~13.0.0",
"chai": "~3.4.1",
"eslint": "~1.10.3",
"gitbook-cli": "~1.0.1",
"isparta": "~4.0.0",
"jsdom": "~8.0.2",
"mocha": "~2.4.5",
"mocha-jsdom": "~1.0.0",
"serve": "~1.4.0",
"watch-cli": "~0.2.1"
},
"main": "./src/index.js"
}