-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
49 lines (49 loc) · 2.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
{
"name": "@lavamoat/snow",
"version": "2.0.3",
"description": "standardize how to recursively own newborn windows within a web app, from the context of the app itself",
"main": "src/index.js",
"devDependencies": {
"@babel/core": "^7.13.15",
"@babel/preset-env": "^7.13.15",
"@wdio/cli": "^7.5.3",
"@wdio/local-runner": "^7.5.5",
"@wdio/mocha-framework": "^7.5.3",
"@wdio/spec-reporter": "^7.5.3",
"babel-loader": "^8.2.2",
"chromedriver": "^129.0.0",
"geckodriver": "^3.2.0",
"wdio-chromedriver-service": "7.0.0",
"wdio-safaridriver-service": "^2.0.0",
"wdio-geckodriver-service": "^4.0.0",
"webpack": "^5.33.2",
"webpack-cli": "^4.6.0"
},
"scripts": {
"demo": "npx serve .",
"use-strict-dev": "node -p 'fs.writeFileSync(`snow.js`, `(function(){\n\"use strict\";\nif (typeof SNOW === \"function\") return;\n` + fs.readFileSync(`snow.js`)+ `\n}())`) , `successfully wrapped snow.js with use-strict scope`'",
"use-strict-prod": "node -p 'fs.writeFileSync(`snow.prod.js`, `(function(){\"use strict\";if (typeof SNOW === \"function\") return;` + fs.readFileSync(`snow.prod.js`)+ `}())`) , `successfully wrapped snow.prod.js with use-strict scope`'",
"build-dev": "webpack --config ./webpack.config.js && yarn use-strict-dev",
"build-prod": "webpack --config ./webpack.prod.config.js && yarn use-strict-prod",
"build": "yarn build-prod & yarn build-dev",
"test-chrome": "./node_modules/.bin/wdio run chrome.wdio.conf.js",
"test-safari": "./node_modules/.bin/wdio run safari.wdio.conf.js",
"test-firefox": "./node_modules/.bin/wdio run firefox.wdio.conf.js",
"test": "yarn test-chrome && yarn test-firefox && yarn test-safari",
"build-test-chrome": "yarn build && yarn test-chrome",
"build-test-safari": "yarn build && yarn test-safari",
"build-test-firefox": "yarn build && yarn test-firefox",
"build-test": "yarn build && yarn test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/lavamoat/snow.git"
},
"keywords": [],
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/lavamoat/snow/issues"
},
"homepage": "https://lavamoat.github.io/snow/"
}