-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
48 lines (48 loc) · 1.57 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
{
"name": "@bigcommerce/form-poster",
"version": "1.5.0",
"description": "A JavaScript library for posting HTML form data",
"license": "MIT",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"dist/",
"lib/"
],
"repository": {
"type": "git",
"url": "git@github.com:bigcommerce/form-poster-js.git"
},
"scripts": {
"build": "npm run build:lib && npm run build:umd",
"prebuild:lib": "rm -rf lib",
"build:lib": "tsc --outDir lib --project tsconfig-build.json",
"prebuild:umd": "rm -rf dist",
"build:umd": "webpack --mode=production",
"lint": "tslint '{src,test}/**/*.ts' --config tslint.json --project tsconfig.json && tsc --noEmit",
"prerelease": "npm run lint && npm test && npm run build && git add lib dist",
"release": "standard-version --tag-prefix '' --commit-all",
"postrelease": "npm publish --access public && git push --follow-tags",
"test": "jest --config jest-config.js",
"validate-commits": "validate-commits",
"validate-commits:ci": "if [ \"$TRAVIS_PULL_REQUEST\" != \"false\" ]; then validate-commits; fi"
},
"jest": {
"testEnvironment": "jsdom"
},
"devDependencies": {
"@bigcommerce/tslint-config": "^4.1.0",
"@bigcommerce/validate-commits": "^2.3.4",
"@types/jest": "^29.5.11",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-jasmine2": "^29.7.0",
"standard-version": "^9.5.0",
"ts-jest": "^29.1.1",
"ts-loader": "^9.5.1",
"tslint": "^5.20.1",
"typescript": "^5.3.3",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
}
}