-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
89 lines (89 loc) · 3.18 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
{
"name": "snowpack-plugin-rollup-bundle",
"description": "A snowpack plugin to use Rollup as a bundler",
"homepage": "https://github.com/ParamagicDev/snowpack-plugin-rollup-bundle",
"bugs": {
"url": "https://github.com/ParamagicDev/snowpack-plugin-rollup-bundle/issues",
"email": "[email protected]"
},
"engines": {
"node": ">= 12"
},
"author": "Konnor Rogers <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/ParamagicDev/snowpack-plugin-rollup-bundle.git"
},
"license": "MIT",
"scripts": {
"ci:setup": "yarn install --frozen-lockfile && yarn build && cd __tests__/examples/example_dir && yarn install --frozen-lockfile",
"lint": "eslint ./{src,__tests__}/**/*.js --quiet && prettier ./{__tests__,src}/**/* --check",
"format": "eslint --fix ./{src,__tests__}/**/*.js && prettier --write ./{__tests__,src}/**/*",
"build": "yarn format && yarn pika build",
"test": "yarn test:unit && yarn test:dev:ci && yarn test:prod:ci",
"test:unit": "uvu -r esm __tests__ -i examples -i cypress",
"test:file": "node -r esm",
"dev": "cd __tests__/examples/example_dir && yarn snowpack dev --port 4000",
"serve": "cd __tests__/examples/example_dir && yarn build && yarn servor build index.html 4000",
"cy:open": "cypress open",
"cy:run": "cypress run -b chrome --headless",
"test:dev": "start-server-and-test 'yarn dev' http-get://localhost:4000 'yarn cy:open'",
"test:prod": "start-server-and-test 'yarn serve' http-get://localhost:4000 'yarn cy:open'",
"test:dev:ci": "start-server-and-test 'yarn dev' http-get://localhost:4000 'yarn cy:run'",
"test:prod:ci": "start-server-and-test 'yarn serve' http-get://localhost:4000 'yarn cy:run'",
"deploy": "pika publish",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md && git commit -m 'docs: update CHANGELOG.md'",
"version": "yarn changelog && yarn build"
},
"@pika/pack": {
"pipeline": [
[
"@pika/plugin-standard-pkg",
{
"exclude": [
"__tests__/**/*"
]
}
],
[
"@pika/plugin-build-node"
]
]
},
"peerDependencies": {
"rollup": ">= 2.0.0",
"snowpack": ">= 2.7.0"
},
"dependencies": {
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.1.1",
"@rollup/plugin-url": "^6.0.0",
"fs-extra": "^9.1.0",
"glob": "^7.1.6",
"jsdom": "^16.4.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-styles": "^3.14.1",
"rollup-plugin-terser": "^7.0.0"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@pika/pack": "^0.5.0",
"@pika/plugin-build-node": "^0.9.2",
"@pika/plugin-standard-pkg": "^0.9.2",
"@testing-library/cypress": "^7.0.3",
"babel-jest": "^26.6.3",
"conventional-changelog-cli": "^2.1.1",
"cypress": "^6.3.0",
"eslint": "^7.18.0",
"eslint-plugin-cypress": "^2.11.2",
"esm": "^3.2.25",
"np": "^7.2.0",
"prettier": "^2.2.1",
"rollup": "^2.38.1",
"snowpack": "^3.0.11",
"start-server-and-test": "^1.11.7",
"uvu": "^0.5.1"
},
"version": "0.4.4"
}