forked from baidu/san
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 2.12 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
57
58
59
60
61
62
63
64
{
"name": "san",
"description": "A fast, portable, flexible JavaScript component framework",
"version": "3.10.1",
"repository": {
"type": "git",
"url": "https://github.com/baidu/san.git"
},
"homepage": "https://baidu.github.io/san/",
"scripts": {
"dev": "node ./tool/dev.js",
"dev:unit": "npx karma start ./test/karma.conf.js start",
"pretest": "npm run build && NODE_PATH=dist node ./test/build-reverse-test.js && node ./test/build-spec.js",
"size": "npm run build && gzip -k dist/san.spa.modern.min.js && stat dist/san.spa.modern.min.js.gz && rm -f dist/*.gz",
"test": "npm run test:unit",
"test:unit": "npx karma start ./test/karma.conf.js --single-run",
"test:cov": "npm run test -- -- --coverage",
"test:e2e": "node ./test/e2e/wdio-launcher.js",
"test:sauce": "npm run test:e2e -- modern && npm run test:e2e -- ie_family && npm run test:e2e -- mobile",
"test:types": "tsc -p ./types/test/tsconfig.json",
"build": "node ./tool/build.js",
"report-cov": "cat ./coverage/report-lcov/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
},
"types": "types",
"main": "dist/san.dev.js",
"browser": "dist/san.dev.js",
"unpkg": "dist/san.min.js",
"files": [
"src",
"dist",
"types/*.d.ts",
"types/*.json"
],
"license": "MIT",
"devDependencies": {
"@wdio/cli": "^6.6.6",
"@wdio/jasmine-framework": "^6.6.6",
"@wdio/sauce-service": "^6.6.6",
"@wdio/spec-reporter": "^6.6.6",
"art-template": "^4.10.2",
"colors": "^1.0.3",
"coveralls": "^3.0.1",
"ejs": "^2.6.1",
"etpl": "^3.2.0",
"handlebars": "^4.0.12",
"http-server": "^0.11.1",
"jasmine-core": "^2.99.1",
"karma": "^4.0.1",
"karma-chrome-launcher": "^2.0.0",
"karma-coverage": "^1.1.2",
"karma-jasmine": "^2.0.1",
"karma-remap-istanbul": "^0.6.0",
"karma-sourcemap-loader": "^0.3.7",
"mustache": "^3.0.1",
"opener": "^1.5.1",
"san-anode-cases": "^3.10.1",
"san-html-cases": "^3.10.6",
"source-map": "^0.7.3",
"swig-templates": "^2.0.3",
"uglify-js": "^2.8.22",
"watch": "^1.0.2",
"webdriverio": "^6.6.6"
}
}