-
Notifications
You must be signed in to change notification settings - Fork 33
/
package.json
35 lines (35 loc) · 1.03 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
{
"name": "@s-ui/segment-wrapper",
"version": "4.10.0",
"description": "Abstraction layer on top of the Segment library.",
"main": "lib/index.js",
"scripts": {
"lib": "sui-js-compiler",
"postlib": "npm run set:version",
"prepublishOnly": "npm run umd && npm run lib",
"set:version": "sed -i.bak \"s/process\\.env\\.VERSION/\\\"$npm_package_version\\\"/g\" lib/segmentWrapper.js && rm lib/segmentWrapper.js.bak",
"test:client:watch": "npm run test:client -- --watch",
"test:client": "sui-test browser --src-pattern=src/index.js -H",
"test": "npm run test:client",
"test:umd": "npm run umd && npx servor ./umd",
"umd": "VERSION=$npm_package_version sui-bundler lib src-umd/index.js -o umd/ -p --root"
},
"author": "",
"license": "ISC",
"dependencies": {
"@s-ui/js": "2",
"tiny-hashes": "1.0.1"
},
"devDependencies": {
"@s-ui/bundler": "9",
"@s-ui/js-compiler": "1",
"@s-ui/test": "8"
},
"config": {
"sui-bundler": {
"env": [
"VERSION"
]
}
}
}