-
Notifications
You must be signed in to change notification settings - Fork 550
/
package.json
66 lines (66 loc) · 2.21 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
65
66
{
"name": "san",
"description": "A fast, portable, flexible JavaScript component framework",
"version": "3.15.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-hydrate-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": "rm -f ./types/test/*.js && tsc -p ./types/test/tsconfig.json",
"build": "node ./tool/build.js",
"dev-server": "npx http-server",
"report-cov": "cat ./coverage/report-lcov/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
},
"types": "types",
"main": "dist/index.js",
"browser": "dist/index.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": "^8.3.10",
"@wdio/spec-reporter": "^6.6.6",
"art-template": "^4.10.2",
"colors": "^1.0.3",
"coveralls": "^3.0.1",
"ejs": "^3.1.7",
"etpl": "^3.2.0",
"handlebars": "^4.0.12",
"http-server": "^0.11.2",
"jasmine-core": "^2.99.1",
"karma": "^6.4.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.14.0",
"san-html-cases": "^3.14.3",
"source-map": "^0.7.3",
"swig-templates": "^2.0.3",
"typescript": "^4.3.5",
"uglify-js": "^2.8.22",
"watch": "^1.0.2",
"webdriverio": "^6.6.6"
}
}