/
package.json
109 lines (109 loc) · 3.96 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
{
"name": "apptentive-web-sdk",
"description": "Apptentive WebSDK",
"private": true,
"version": "0.5.0",
"publishedVersion": "v1",
"main": "index.js",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/apptentive/alchemer-kit-web .git"
},
"keywords": [
"apptentive",
"websdk"
],
"author": {
"name": "Apptentive",
"email": "sdks@apptentive.com",
"url": "https://github.com/apptentive"
},
"license": "SEE LICENSE IN LICENSE",
"bugs": {
"url": "https://github.com/apptentive/web-sdk/issues"
},
"homepage": "https://github.com/apptentive/web-sdk#readme",
"scripts": {
"build:all": "npm run build:styles && npm run build:scripts",
"build:styles": "npm run build:styles:lib && npm run build:styles:public",
"build:styles:debug": "node-sass sass/styles.scss -o output/styles && postcss ./output/styles/*.css --map --use autoprefixer --dir output/styles/",
"build:styles:lib": "sass sass/styles.scss lib/styles/styles.css && postcss ./lib/styles/*.css --map --dir lib/styles/",
"build:styles:public": "sass public && postcss ./public/**/*.css --map --use autoprefixer --dir public/ --base public",
"build:scripts": "rollup --config rollup.config.js && tsc",
"deploy": "s3-deploy './lib/**/*' --cwd './lib/' --filePrefix 'v1' --bucket apptentive-web-sdks --cacheControl 'max-age=7200, must-revalidate' --gzip",
"deploy:staging": "s3-deploy './lib/**/*' --cwd './lib/' --filePrefix 'next' --bucket apptentive-web-sdks --cacheControl 'max-age=7200, must-revalidate' --gzip",
"lint": "eslint src/**/*.ts __tests__/**/*.js",
"lint:fix": "npm run lint -- --fix",
"prettier": "prettier src __tests__ --check",
"prettier:fix": "npm run prettier -- --write",
"format": "npm run prettier:fix && npm run lint:fix",
"start": "node server.js",
"test": "NODE_ENV=test jest",
"test:e2e": "playwright test",
"test:ci": "NODE_ENV=test jest",
"watch": "npm run watch:styles && npm run watch:scripts",
"watch:styles": "sass sass/styles.scss lib/styles/styles.css --watch",
"watch:scripts": "rollup --config rollup.config.js --watch",
"prepare": "husky install"
},
"dependencies": {
"@corex/deepmerge": "^4.0.37",
"core-js": "~3.25.5",
"ky": "^0.32.2",
"localstorage-fifo": "^3.0.0"
},
"devDependencies": {
"@babel/cli": "^7.19.3",
"@babel/core": "^7.19.3",
"@babel/preset-env": "^7.19.4",
"@babel/preset-typescript": "^7.18.6",
"@babel/register": "^7.18.9",
"@playwright/test": "^1.31.2",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^14.1.0",
"@rollup/plugin-terser": "^0.1.0",
"@types/jest": "^29.1.2",
"@types/json-server": "^0.14.4",
"@typescript-eslint/eslint-plugin": "^5.40.0",
"@typescript-eslint/parser": "^5.40.0",
"autoprefixer": "^10.4.12",
"eslint": "^8.25.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.5.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsdoc": "^46.4.3",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-optimize-regex": "^1.2.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-security": "^1.5.0",
"eslint-plugin-xss": "^0.1.12",
"husky": "^8.0.1",
"jest": "^29.1.2",
"jest-environment-jsdom": "^29.1.2",
"json-server": "^0.17.1",
"lint-staged": "^13.0.3",
"msw": "^0.47.4",
"postcss": "^8.4.18",
"postcss-cli": "^9.1.0",
"prettier": "2.7.1",
"rollup": "^2.79.1",
"rollup-plugin-cleanup": "^3.2.1",
"s3-deploy": "^1.4.0",
"sass": "^1.63.6",
"sass-loader": "^13.3.2",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"tslib": "^2.4.0",
"typescript": "^4.8.4",
"whatwg-fetch": "^3.6.2"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
},
"engines": {
"node": "^16 || ^18"
}
}