forked from adobe/alloy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
124 lines (124 loc) · 4.59 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
{
"name": "@adobe/alloy",
"version": "2.7.0",
"description": "Adobe Experience Platform Web SDK",
"main": "libEs5/index.js",
"module": "libEs6/index.js",
"files": [
"libEs5",
"libEs6"
],
"scripts": {
"clean": "rimraf dist distTest libEs5 libEs6",
"lint": "eslint --cache --fix \"*.js\" \"{src,test,scripts}/**/*.js\"",
"format": "prettier --write \"*.{html,js}\" \"{sandbox,src,test,scripts}/**/*.{html,js}\"",
"test": "npm run test:unit && npm run test:scripts && npm run test:functional",
"test:unit": "karma start --single-run",
"test:unit:watch": "karma start",
"test:unit:saucelabs:local": "karma start karma.saucelabs.conf.js --single-run",
"test:unit:coverage": "karma start --single-run --reporters spec,coverage",
"test:functional": "EDGE_BASE_PATH=\"ee-pre-prd\" ALLOY_ENV=\"int\" testcafe chrome",
"test:functional:watch": "EDGE_BASE_PATH=\"ee-pre-prd\" ALLOY_ENV=\"int\" ./scripts/watchFunctionalTests.js --browsers chrome",
"test:functional:build:int": "rollup -c --environment BASE_CODE_MIN,STANDALONE,NPM_PACKAGE_LOCAL",
"test:functional:build:prod": "rollup -c --environment BASE_CODE_MIN,NPM_PACKAGE_PROD",
"test:scripts": "jasmine --config=scripts/specs/jasmine.json",
"sandbox:build": "rollup -c --environment SANDBOX && cd sandbox && npm run build",
"dev": "concurrently --names build,sandbox \"rollup -c -w --environment SANDBOX\" \"cd sandbox && export REACT_APP_NONCE=321 && npm start\"",
"build": "npm run format && npm run lint && npm run clean && rollup -c --environment BASE_CODE_MIN,STANDALONE,STANDALONE_MIN && echo \"Base Code:\" && cat distTest/baseCode.min.js",
"prepare": "husky install && cd sandbox && npm install",
"prepublishOnly": "rimraf libEs5 libEs6 && babel src -d libEs5 --env-name npmEs5 && babel src -d libEs6 --env-name npmEs6",
"checkthattestfilesexist": "./scripts/checkThatTestFilesExist.js"
},
"lint-staged": {
"./*.js": [
"eslint --cache --fix"
],
"./{src,test,scripts}/**/*.js": [
"eslint --cache --fix"
],
"./*.{html,js}": [
"prettier --write"
],
"./{sandbox,src,test,scripts}/**/*.{html,js}": [
"prettier --write"
]
},
"repository": {
"type": "git",
"url": "https://github.com/adobe/alloy.git"
},
"author": "Adobe Inc.",
"license": "Apache-2.0",
"bundlesize": [
{
"path": "./dist/alloy.min.js"
}
],
"dependencies": {
"@adobe/reactor-cookie": "^1.0.0",
"@adobe/reactor-load-script": "^1.1.1",
"@adobe/reactor-object-assign": "^1.0.0",
"@adobe/reactor-query-string": "^1.0.0",
"css.escape": "^1.5.1",
"uuid": "^3.3.2"
},
"devDependencies": {
"@adobe/alloy": "^2.7.0",
"@babel/cli": "^7.12.8",
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-object-rest-spread": "^7.3.2",
"@babel/plugin-transform-template-literals": "^7.4.4",
"@babel/preset-env": "^7.4.5",
"@octokit/rest": "^18.3.5",
"babel-plugin-version": "^0.2.3",
"bundlesize": "^0.18.0",
"chalk": "^2.4.2",
"concurrently": "^5.3.0",
"date-fns": "^2.23.0",
"dotenv": "^8.1.0",
"eslint": "^7.25.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.4.0",
"eslint-plugin-ban": "^1.5.2",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-testcafe": "^0.2.1",
"glob": "^7.1.3",
"husky": "^6.0.0",
"jasmine-core": "^3.4.0",
"karma": "^4.0.0",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage": "^2.0.1",
"karma-firefox-launcher": "^2.1.0",
"karma-jasmine": "^2.0.1",
"karma-jasmine-html-reporter": "^1.4.2",
"karma-jasmine-matchers": "^4.0.1",
"karma-rollup-preprocessor": "^7.0.5",
"karma-safari-launcher": "^1.0.0",
"karma-sauce-launcher": "^4.3.5",
"karma-spec-reporter": "0.0.32",
"lint-staged": "^10.5.4",
"prettier": "^1.16.4",
"promise-polyfill": "^8.1.0",
"read-cache": "^1.0.0",
"recursive-readdir": "^2.2.2",
"request": "^2.88.0",
"rimraf": "^3.0.2",
"rollup": "^2.29.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-glob-import": "^0.4.5",
"rollup-plugin-istanbul": "^2.0.1",
"rollup-plugin-license": "^2.2.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^7.0.2",
"start-server-and-test": "^1.10.6",
"testcafe": "^1.12.0",
"testcafe-browser-provider-saucelabs": "^1.8.1",
"testcafe-reporter-testrail": "^0.6.3",
"ua-parser": "^0.3.5",
"url-exists-nodejs": "^0.1.0",
"url-parse": "^1.4.7",
"yargs": "^16.2.0"
}
}