diff --git a/package.json b/package.json index 099c2d42..1079972a 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Odoo Web Library (OWL)", "main": "src/index.ts", "scripts": { - "build:js": "tsc --target esnext --module es6 --outDir dist/owl src/*", + "build:js": "tsc --target esnext --module es6 --outDir dist/owl", "build:bundle": "rollup -c", "build": "npm run build:js && npm run build:bundle", "minify": "uglifyjs dist/owl.js -o dist/owl.min.js --compress --mangle", @@ -12,6 +12,7 @@ "test:watch": "jest --watch", "extras:serve": "python3 extras/server.py || python extras/server.py", "extras": "npm run build && npm run extras:serve", + "preextras:watch": "npm run build", "extras:watch": "npm-run-all --parallel extras:serve \"build:* -- --watch\"" }, "repository": { diff --git a/tsconfig.json b/tsconfig.json index 140a9259..89e11ad9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -16,5 +16,5 @@ "strictPropertyInitialization": true, "strictNullChecks": true }, - "include": ["demo/static/**/*.ts", "src/*.ts", "tests/*.ts"] + "include": ["src/*.ts"] }