-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
148 lines (148 loc) · 6.44 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"name": "TODO",
"version": "0.0.1",
"description": "TODO",
"author": "TODO",
"homepage": "TODO",
"bugs": {
"url": "TODO"
},
"license": "CC0-1.0",
"keywords": [],
"files": [
"dist/**",
"env/mocha/*"
],
"main": "dist/js/main/browser/main.js",
"jsnext:main": "dist/mjs/main/browser/main.js",
"module": "dist/mjs/main/browser/main.js",
"engines": {
"node": ">= 8.6.0"
},
"scripts": {
"clean": "shx rm -rf {dist,tmp,__sapper__,*.log}",
"precommit": "npm run test:all:coverage",
"prepare": "npm run build",
"prepublishOnly": "npm run test:all",
"build:mjs": "shx rm -rf dist/mjs/ && shx mkdir -p dist/mjs/ && shx cp -rf src/test dist/mjs/ && babel src --out-dir dist/mjs/ --no-babelrc --config-file ./.babelrc-mjs.js",
"build:js": "shx rm -rf dist/js/ && shx mkdir -p dist/js/ && shx cp -rf src/test dist/js/ && babel src --out-dir dist/js/ --no-babelrc --config-file ./.babelrc-js.js",
"build:polyfill": "node env/polyfill/build.js",
"build:components": "shx rm -rf dist/components/ && rollup --config env/rollup/rollup-config-components.js",
"build": "npm run build:mjs && npm run build:js && npm run build:components && npm run build:sapper:export",
"lint": "echo eslint --plugin markdown --ext js,md .",
"test:mocha:src": "mocha --opts ./env/mocha/mocha.babel.opts ./src/test/tests/{node,common}/**/*.*",
"test:mocha:mjs": "mocha --opts ./env/mocha/mocha.babel.opts ./dist/mjs/test/tests/{node,common}/**/*.*",
"test:mocha:js": "mocha --opts ./env/mocha/mocha.opts ./dist/js/test/tests/{node,common}/**/*.*",
"test:karma": "karma start env/karma/karma.conf.tests.js",
"test:intern": "npm run build:components && mocha --opts ./env/mocha/mocha.babel.opts ./env/intern/mocha-export.js",
"test": "npm run test:mocha:mjs && npm run test:mocha:js",
"test:all": "npm run lint && npm run clean && npm run test:mocha:src && npm run build && npm run test:mocha:mjs && npm run test:mocha:js",
"test:all:coverage": "npm run lint && npm run clean && npm run build && npm run coverage && nyc check-coverage --report-dir tmp/coverage/all/lcov --lines 100 --functions 100 --branches 100",
"watch:mocha": "mocha --opts ./env/mocha/mocha.babel.opts ./src/test/tests/{node,common}/**/*.* --watch",
"perf:mocha": "mocha --opts ./env/mocha/mocha.babel.opts ./src/test/performance/{node,common}/**/*.*",
"watch:karma": "karma start env/karma/karma.conf.tests.js --auto-watch",
"perf:karma": "karma start env/karma/karma.conf.performance.js",
"test:coverage": "npm run test:mocha:src && npm run test:mocha:mjs && npm run test:mocha:js",
"coverage:mocha": "nyc npm run test:coverage",
"coverage:karma": "karma start env/karma/karma.conf.coverage.js",
"coverage": "npm run coverage:mocha && npm run coverage:karma && npm run test:intern && npm run coverage:merge",
"coverage:ci": "npm run coverage:mocha && npm run ci:karma && npm run coverage:merge",
"coverage:merge": "istanbul-combine -d tmp/coverage/all/lcov -p summary -r lcov tmp/coverage/*/json/**.json",
"ci:karma": "karma start env/karma/karma.conf.ci.js",
"ci": "npm run lint && npm run coverage:ci && ncat tmp/coverage/all/lcov/**/lcov.info --banner \"\" | coveralls",
"deploy": "npm run build:sapper:export && node env/deploy/deploy",
"build:sapper": "sapper build --legacy --basepath /sapper/page",
"build:sapper:export": "sapper export dist/sapper/export --legacy --basepath /sapper/page",
"sapper:dev": "node env/sapper/dev.js",
"test:sapper": "run-p --race dev cy:run",
"sapper:start": "node __sapper__/build",
"cy:run": "cypress run",
"cy:open": "cypress open"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.3",
"@babel/plugin-proposal-class-properties": "^7.3.3",
"@babel/plugin-proposal-optional-chaining": "^7.2.0",
"@babel/plugin-proposal-throw-expressions": "^7.2.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-async-to-generator": "^7.2.0",
"@babel/plugin-transform-parameters": "^7.3.3",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.3.1",
"@babel/register": "^7.0.0",
"@metahub/karma-rollup-preprocessor": "^4.1.0",
"@theintern/leadfoot": "^2.2.6",
"autoprefixer": "^9.4.9",
"babel-eslint": "^10.0.1",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"chokidar": "^2.0.4",
"cssnano": "^4.1.10",
"eslint": "^5.14.1",
"eslint-config-pro": "0.0.4",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-html": "^5.0.3",
"eslint-plugin-import": "^2.15.0",
"eslint-plugin-markdown": "^1.0.0",
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"express": "^4.16.4",
"fs-extra": "^7.0.1",
"globby": "^9.0.0",
"intern": "^4.4.1",
"istanbul-combine": "^0.3.0",
"json5": "^2.1.0",
"karma": "^4.0.0",
"karma-browserstack-launcher": "^1.4.0",
"karma-chrome-launcher": "^2.2.0",
"karma-coverage": "^1.1.2",
"karma-detect-browsers": "^2.3.3",
"karma-edge-launcher": "^0.4.2",
"karma-firefox-launcher": "^1.1.0",
"karma-ie-launcher": "^1.0.0",
"karma-mocha": "^1.3.0",
"karma-opera-launcher": "^1.0.0",
"karma-phantomjs-launcher": "^1.0.4",
"karma-rollup-preprocessor": "^7.0.0",
"karma-safari-launcher": "^1.0.0",
"karma-safaritechpreview-launcher": "^2.0.2",
"kleur": "^3.0.2",
"lodash": "^4.17.11",
"mocha": "^5.2.0",
"ncat": "^2.0.5",
"needle": "^2.2.4",
"node-sass": "^4.11.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.3.0",
"postcss-import": "^12.0.1",
"pug": "^2.0.3",
"rollup": "^1.2.2",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-eslint": "^5.0.0",
"rollup-plugin-istanbul": "^2.0.1",
"rollup-plugin-node-resolve": "^4.0.0",
"rollup-plugin-postcss": "^2.0.3",
"rollup-plugin-prettier": "^0.6.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-svelte": "^5.0.1",
"rollup-plugin-terser": "^4.0.4",
"rollup-pluginutils": "^2.4.1",
"sapper": "^0.25.0",
"shx": "^0.3.2",
"svelte": "^2.16.1",
"svelte-preprocess": "^2.5.0",
"svelte-themes-preprocess": "^1.0.0",
"zip-dir": "^1.0.2"
},
"dependencies": {
"@babel/polyfill": "^7.2.5",
"@babel/runtime": "^7.3.1",
"compression": "^1.7.1",
"express": "^4.16.4",
"polka": "^0.4.0",
"sirv": "^0.2.0"
}
}